forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#133951 - bjorn3:wasm_c_abi_lint_hard_error,…
… r=workingjubilee Make the wasm_c_abi future compat warning a hard error This is the next step in getting rid of the broken C abi for wasm32-unknown-unknown. The lint was made deny-by-default in rust-lang#129534 3 months ago. This still keeps the `-Zwasm-c-abi` flag set to `legacy` by default. It will be flipped in a future PR. cc rust-lang#122532
- Loading branch information
Showing
11 changed files
with
55 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
//@ only-wasm32 | ||
//@ revisions: v0_1_0 v0_2_87 v0_2_88 v0_3_0 v1_0_0 | ||
//@[v0_1_0] check-fail | ||
//@[v0_1_0] rustc-env:CARGO_PKG_VERSION_MAJOR=0 | ||
//@[v0_1_0] rustc-env:CARGO_PKG_VERSION_MINOR=1 | ||
//@[v0_1_0] rustc-env:CARGO_PKG_VERSION_PATCH=0 | ||
//@[v0_2_87] check-fail | ||
//@[v0_2_87] rustc-env:CARGO_PKG_VERSION_MAJOR=0 | ||
//@[v0_2_87] rustc-env:CARGO_PKG_VERSION_MINOR=2 | ||
//@[v0_2_87] rustc-env:CARGO_PKG_VERSION_PATCH=87 | ||
//@[v0_2_88] check-pass | ||
//@[v0_2_88] rustc-env:CARGO_PKG_VERSION_MAJOR=0 | ||
//@[v0_2_88] rustc-env:CARGO_PKG_VERSION_MINOR=2 | ||
//@[v0_2_88] rustc-env:CARGO_PKG_VERSION_PATCH=88 | ||
//@[v0_3_0] check-pass | ||
//@[v0_3_0] rustc-env:CARGO_PKG_VERSION_MAJOR=0 | ||
//@[v0_3_0] rustc-env:CARGO_PKG_VERSION_MINOR=3 | ||
//@[v0_3_0] rustc-env:CARGO_PKG_VERSION_PATCH=0 | ||
//@[v1_0_0] check-pass | ||
//@[v1_0_0] rustc-env:CARGO_PKG_VERSION_MAJOR=1 | ||
//@[v1_0_0] rustc-env:CARGO_PKG_VERSION_MINOR=0 | ||
//@[v1_0_0] rustc-env:CARGO_PKG_VERSION_PATCH=0 | ||
|
||
#![crate_name = "wasm_bindgen"] | ||
//[v0_1_0]~^ ERROR: older versions of the `wasm-bindgen` crate | ||
//[v0_2_87]~^^ ERROR: older versions of the `wasm-bindgen` crate | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88 | ||
--> $DIR/wasm-bindgen-broken-error.rs:24:1 | ||
| | ||
LL | #![crate_name = "wasm_bindgen"] | ||
| ^ | ||
|
||
error: aborting due to 1 previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
error: older versions of the `wasm-bindgen` crate are incompatible with current versions of Rust; please update to `wasm-bindgen` v0.2.88 | ||
--> $DIR/wasm-bindgen-broken-error.rs:24:1 | ||
| | ||
LL | #![crate_name = "wasm_bindgen"] | ||
| ^ | ||
|
||
error: aborting due to 1 previous error | ||
|