This is a tracking issue for wasm native exception handling, which would allow panic=unwind to function properly for code targeting wasm.
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
Unresolved Questions
Implementation history
This is a tracking issue for wasm native exception handling, which would allow
panic=unwindto function properly for code targeting wasm.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
Unresolved Questions
-C target-feature=+exception-handlingvs-C panic=unwind-- does one imply the other, or is one of them redundant?-C llvm-args=-wasm-enable-ehbe passed by default on all wasm targets, to be stripped out if theexception-handlingtarget feature is disabled?-wasm-enable-ehdoes not affect codegen in general, only isel for the wasm.throw instruction.panic=abort? If so, by whom?wasm-ld?wasm-optdoes currently implement a--strip-ehpass; maybe that's good enough if users want to target wasm MVP?atomics(Tracking issue for WebAssembly atomics #77839) faces, of a single prebuilt libstd coming into conflict with some users needing backwards compatibility with wasm-MVP and others wanting to use more recently stabilized featuresImplementation history