Use Cargo.toml lints instead of a build script
This commit is contained in:
parent
63603fd41f
commit
959c49f0d0
2 changed files with 3 additions and 3 deletions
|
|
@ -26,3 +26,6 @@ std_detect = { version = "0.*", path = "../std_detect" }
|
|||
|
||||
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies]
|
||||
syscalls = { version = "0.6.18", default-features = false }
|
||||
|
||||
[lints.rust]
|
||||
unexpected_cfgs = {level = "warn", check-cfg = ['cfg(stdarch_intel_sde)'] }
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
fn main() {
|
||||
println!("cargo::rustc-check-cfg=cfg(stdarch_intel_sde)");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue