mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
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)]
|
#![allow(clippy::disallowed_methods)]
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
println!("cargo:rustc-check-cfg=cfg(emulate_second_only_system)");
|
||||||
println!(
|
println!(
|
||||||
"cargo:rustc-env=NATIVE_ARCH={}",
|
"cargo:rustc-env=NATIVE_ARCH={}",
|
||||||
std::env::var("TARGET").unwrap()
|
std::env::var("TARGET").unwrap()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user