X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fcore%2Fsrc%2Flib.rs;h=069e6e7e7188155c57a86eff003d5e73210e66e7;hb=9d114506c68ce717503d0fa1eb335db5c80c195f;hp=b89ec93834fcc7232df1850e7338a31ea53001dd;hpb=8df58ae03a8fda8ed126c02fbc16b530d18344df;p=rust.git diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index b89ec93834f..069e6e7e718 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -287,6 +287,7 @@ unused_imports, unsafe_op_in_unsafe_fn )] +#[cfg_attr(not(bootstrap), allow(non_autolinks))] // FIXME: This annotation should be moved into rust-lang/stdarch after clashing_extern_declarations is // merged. It currently cannot because bootstrap fails as the lint hasn't been defined yet. #[allow(clashing_extern_declarations)]