about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-08-24 15:14:19 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-08-24 15:35:28 -0700
commitaf05882eb5775d9bf8b2efea5598cd6305f6a33e (patch)
treec13137635f9f40e9ce85701d8b0aa903231bc55a
parenta60a9e567a7319b33619f6551dc29522c6f58687 (diff)
downloadrust-af05882eb5775d9bf8b2efea5598cd6305f6a33e.tar.gz
rust-af05882eb5775d9bf8b2efea5598cd6305f6a33e.zip
Deny wasm_c_abi lint to nudge the last 25%
This shouldn't affect projects indirectly depending on wasm-bindgen
because cargo passes `--cap-lints=allow` when building dependencies.
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index a65d30eb817..bcd00ac06ba 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -4806,7 +4806,7 @@ declare_lint! {
     /// version of Rust this will be fixed and therefore dependencies relying
     /// on the non-spec-compliant C ABI will stop functioning.
     pub WASM_C_ABI,
-    Warn,
+    Deny,
     "detects dependencies that are incompatible with the Wasm C ABI",
     @future_incompatible = FutureIncompatibleInfo {
         reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,