Wasm: stabilize target_feature = "gc"#150183
Conversation
|
To confirm about wasm-bindgen's use case, the intention here is that users will specify |
|
Yes! As I mentioned, this isn't a dealbreaker because we can just add a global flag. |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
I wanted to bump this again because there was some issue with the Rustbot, but I held off because I realized if we stabilize this and LLVM can't actually parse the GC instructions, we are stuck in a bad situation. Even though inline assembly is not stable yet in Wasm, it is still possible to embed GC instructions via object files. If LLVM doesn't actually understand those, libraries doing this now can't actually rely on So while this is not an issue for In conclusion: we should not stabilize this until LLVM can truly parse all GC instructions. |
Follow-up to #150111, stabilizing the new target features.
While merging this has to wait until LLVM 22 releases, which is a long way off, I thought it might still be sensible to get FCP approval now. But let me know if this would be considered too premature.
Addresses #150260.
Companion PR: rust-lang/reference#2114.
r? @alexcrichton