diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2022-06-06 15:01:17 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2022-06-06 15:01:17 -0700 |
| commit | ff3700171316bb59e571e1b8604efba191bdb1c0 (patch) | |
| tree | 4ae37d96a7c92bce380756264d31b82f7420d4af /compiler/rustc_const_eval/src | |
| parent | 357bc27904d4a99c83d4b01272c34e0e54934fa5 (diff) | |
| download | rust-ff3700171316bb59e571e1b8604efba191bdb1c0.tar.gz rust-ff3700171316bb59e571e1b8604efba191bdb1c0.zip | |
Add some unstable target features for the wasm target codegen
I was experimenting with cross-language LTO for the wasm target recently between Rust and C and found that C was injecting the `+mutable-globals` flag on all functions. When specifying the corresponding `-Ctarget-feature=+mutable-globals` feature to Rust it prints a warning about an unknown feature. I've added the `mutable-globals` feature plus another few I know of to the list of known features for wasm targets. These features all continue to be unstable to source code as they were before.
Diffstat (limited to 'compiler/rustc_const_eval/src')
0 files changed, 0 insertions, 0 deletions
