We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8725cd commit 2ad24e1Copy full SHA for 2ad24e1
1 file changed
src/lib.rs
@@ -98,7 +98,7 @@ use rustc_middle::ty::TyCtxt;
98
use rustc_middle::util::Providers;
99
use rustc_session::Session;
100
use rustc_session::config::{OptLevel, OutputFilenames};
101
-use rustc_span::Symbol;
+use rustc_span::{Symbol, sym};
102
use rustc_target::spec::{Arch, RelocModel};
103
use tempfile::TempDir;
104
@@ -311,6 +311,10 @@ impl CodegenBackend for GccCodegenBackend {
311
fn target_config(&self, sess: &Session) -> TargetConfig {
312
target_config(sess, &self.target_info)
313
}
314
+
315
+ fn fallback_intrinsics(&self) -> Vec<Symbol> {
316
+ vec![sym::type_id_eq]
317
+ }
318
319
320
fn new_context<'gcc, 'tcx>(tcx: TyCtxt<'tcx>) -> Context<'gcc> {
0 commit comments