about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-06-07 11:41:09 +0200
committerGitHub <noreply@github.com>2022-06-07 11:41:09 +0200
commit95266530d5b97a51b4ad110733fa276f85c27b43 (patch)
tree5bdccc6cc756e360cc4bbc4613b9c8522af522c6 /compiler/rustc_const_eval/src
parentf32a4f06aba4aab085fe50490c8d70ce66fb7bdf (diff)
parentff3700171316bb59e571e1b8604efba191bdb1c0 (diff)
downloadrust-95266530d5b97a51b4ad110733fa276f85c27b43.tar.gz
rust-95266530d5b97a51b4ad110733fa276f85c27b43.zip
Rollup merge of #97808 - alexcrichton:wasm-features, r=petrochenkov
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