Work around ICEs during cross-compilation
This commit is contained in:
parent
1eefa6783c
commit
0d60c46faa
3 changed files with 12 additions and 0 deletions
|
@ -19,6 +19,10 @@
|
|||
#![feature(unicode_internals)]
|
||||
#![recursion_limit = "256"]
|
||||
|
||||
// FIXME(#56935): Work around ICEs during cross-compilation.
|
||||
#[allow(unused)]
|
||||
extern crate rustc_macros;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! unwrap_or {
|
||||
($opt:expr, $default:expr) => {
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
#![feature(or_patterns)]
|
||||
|
||||
// FIXME(#56935): Work around ICEs during cross-compilation.
|
||||
#[allow(unused)]
|
||||
extern crate rustc_macros;
|
||||
|
||||
mod builtin;
|
||||
|
||||
pub use builtin::*;
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
#![feature(associated_type_bounds)]
|
||||
#![feature(exhaustive_patterns)]
|
||||
|
||||
// FIXME(#56935): Work around ICEs during cross-compilation.
|
||||
#[allow(unused)]
|
||||
extern crate rustc_macros;
|
||||
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue