Skip to content

Commit 8f35a4f

Browse files
authored
Rollup merge of #129534 - workingjubilee:ratchet-wasm-c-abi-fcw-to-deny, r=daxpedda,alexcrichton
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. The motivation is that the ecosystem has mostly taken up the versions of wasm-bindgen that are compatible in general, but ~25% or so of recent downloads remain on lower versions. However, this change might still be unnecessarily disruptive. I mostly propose it as a discussion point.
2 parents 2a321e1 + af05882 commit 8f35a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4771,7 +4771,7 @@ declare_lint! {
47714771
/// version of Rust this will be fixed and therefore dependencies relying
47724772
/// on the non-spec-compliant C ABI will stop functioning.
47734773
pub WASM_C_ABI,
4774-
Warn,
4774+
Deny,
47754775
"detects dependencies that are incompatible with the Wasm C ABI",
47764776
@future_incompatible = FutureIncompatibleInfo {
47774777
reason: FutureIncompatibilityReason::FutureReleaseErrorReportInDeps,

0 commit comments

Comments
 (0)