From ff00ef4d6656af5708958dee3ca9ed1918648b6d Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 29 Jan 2021 14:49:23 +1100 Subject: [PATCH] Apply workaround from #72003 for #56935 Related: #72017. --- compiler/rustc_index/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs index eaef4c7b54a..995034e81da 100644 --- a/compiler/rustc_index/src/lib.rs +++ b/compiler/rustc_index/src/lib.rs @@ -8,3 +8,7 @@ pub mod bit_set; pub mod vec; + +// FIXME(#56935): Work around ICEs during cross-compilation. +#[allow(unused)] +extern crate rustc_macros;