mirror of https://github.com/rust-lang/cargo
style(test): Remove check-cfg warning
This is currently breaking CI because we run effectively `RUSTDOCFLAGS=-Dwarnings cargo +nightly doc`
This commit is contained in:
parent
d72d0b2152
commit
befb66d9ce
|
@ -1,6 +1,7 @@
|
|||
#![allow(clippy::disallowed_methods)]
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rustc-check-cfg=cfg(emulate_second_only_system)");
|
||||
println!(
|
||||
"cargo:rustc-env=NATIVE_ARCH={}",
|
||||
std::env::var("TARGET").unwrap()
|
||||
|
|
Loading…
Reference in New Issue