diff options
Diffstat (limited to 'ext/ffi')
-rw-r--r-- | ext/ffi/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 5220c4fdb..961c96b01 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -27,3 +27,6 @@ serde_json = "1.0" [target.'cfg(windows)'.dependencies] winapi = { workspace = true, features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } + +[lints.rust] +unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_aarch, values("x86_64", "aarch64"))'] } |