You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracking Issue for perma-unstable wasm-c-abi flag #122532
For background, see rust-lang/compiler-team#703. The short summary is that the ABI rustc uses for extern "C" on wasm32-unknown-unknown is not spec-compliant and exposes various unstable implementation details of rustc and LLVM. We plan to transition to the official "C" ABI for this target. This will change how non-scalar arguments are passed across this ABI boundary, so if you have code running that is built for wasm32-unknown-unknown and called directly by JavaScript, it may have to be adjusted to follow the new ABI rules. Options for how to manage the transition are still being considered; see #138762 for further guidance.
The -Zwasm-c-abi flag lets you test your code with the new ABI.
About tracking issues
Tracking issues are used to record the overall progress of implementation.
They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions.
A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature.
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.
Steps
Implement the MCP (cc @rust-lang/compiler -- can anyone write up mentoring
instructions?)
Since 1.78 a future-compat-warning for using too-old versions of wasm-bindgen has been in place, and now 75% of the ecosystem's downloads of crates are wasm-bindgen 0.2.89 or higher. I have opened #129534 as a discussion point for whether we should move the warning to a deny.
Activity
Rollup merge of rust-lang#117919 - daxpedda:wasm-c-abi, r=wesleywiser
Rollup merge of rust-lang#117919 - daxpedda:wasm-c-abi, r=wesleywiser
Rollup merge of rust-lang#117919 - daxpedda:wasm-c-abi, r=wesleywiser
Rollup merge of rust-lang#117919 - daxpedda:wasm-c-abi, r=wesleywiser
Auto merge of rust-lang#117919 - daxpedda:wasm-c-abi, r=wesleywiser
Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiser
Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiser
Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiser
Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiser
workingjubilee commentedon Aug 24, 2024
Since 1.78 a future-compat-warning for using too-old versions of wasm-bindgen has been in place, and now 75% of the ecosystem's downloads of crates are wasm-bindgen 0.2.89 or higher. I have opened #129534 as a discussion point for whether we should move the warning to a deny.
wasm: Depend on wasm-bindgen 0.2.89 or higher (#497)
lcnr commentedon Dec 6, 2024
Rollup merge of rust-lang#133951 - bjorn3:wasm_c_abi_lint_hard_error,…
Rollup merge of rust-lang#133951 - bjorn3:wasm_c_abi_lint_hard_error,…
66 remaining items
Auto merge of rust-lang#138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
Auto merge of #138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
Auto merge of rust-lang#138601 - RalfJung:wasm-abi-fcw, r=alexcrichton
C ABI Changes for `wasm32-unknown-unknown`
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Unrolled build for #133952
Rollup merge of rust-lang#133952 - bjorn3:remove_wasm_legacy_abi, r=a…
Rollup merge of #133952 - bjorn3:remove_wasm_legacy_abi, r=alexcrichton
wasm: Depend on wasm-bindgen 0.2.89 or higher (rust-random#497)
Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiser