Static rustc_lint_defs::builtin::WASM_C_ABI

source ·
pub static WASM_C_ABI: &Lint
Expand description

The wasm_c_abi lint detects crate dependencies that are incompatible with future versions of Rust that will emit spec-compliant C ABI.



This will produce:

error: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87
note: the lint level is defined here
 --> src/
1 | #![deny(wasm_c_abi)]
  |         ^^^^^^^^^^


Rust has historically emitted non-spec-compliant C ABI. This has caused incompatibilities between other compilers and Wasm targets. In a future version of Rust this will be fixed and therefore dependencies relying on the non-spec-compliant C ABI will stop functioning.