Skip to content

Commit 919d277

Browse files
sayantnAmanieu
authored andcommitted
Use Cargo.toml lints instead of a build script
1 parent c360fe8 commit 919d277

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/core_arch/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,6 @@ std_detect = { version = "0.*", path = "../std_detect" }
2626

2727
[target.'cfg(all(target_arch = "x86_64", target_os = "linux"))'.dev-dependencies]
2828
syscalls = { version = "0.6.18", default-features = false }
29+
30+
[lints.rust]
31+
unexpected_cfgs = {level = "warn", check-cfg = ['cfg(stdarch_intel_sde)'] }

crates/core_arch/build.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)