Skip to content

Commit 43e1ea2

Browse files
committed
Auto merge of #81498 - thomaseizinger:ice-workaround-56935-rustc-index, r=matthewjasper
Apply workaround from #72003 for #56935 to allow for cross-compilation of `rustc_index` crate This patch applies the same workaround as #72003 to the `rustc_index` crate. This allows recent versions of rustfmt to compile to wasm again. Related: #72017.
2 parents 323fb71 + ff00ef4 commit 43e1ea2

File tree

1 file changed

+4
-0
lines changed
  • compiler/rustc_index/src

1 file changed

+4
-0
lines changed

compiler/rustc_index/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@
88

99
pub mod bit_set;
1010
pub mod vec;
11+
12+
// FIXME(#56935): Work around ICEs during cross-compilation.
13+
#[allow(unused)]
14+
extern crate rustc_macros;

0 commit comments

Comments
 (0)