Work around ICEs during cross-compilation

This commit is contained in:
Cameron Taggart 2020-05-08 09:38:18 -06:00
parent 1eefa6783c
commit 0d60c46faa
3 changed files with 12 additions and 0 deletions

View file

@ -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) => {

View file

@ -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::*;

View file

@ -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;