rust/compiler/rustc_session/src
Simonas Kazlauskas 54dc7cebce Remove the insta-stable cfg(wasm)
The addition of `cfg(wasm)` was an oversight on my end that has a number
of downsides:

* It was introduced as an insta-stable addition, forgoing the usual
  staging mechanism we use for potentially far-reaching changes;
* It is a breaking change for people who are using `--cfg wasm` either
  directly or via cargo for other purposes;
* It is not entirely clear if a bare `wasm` cfg is a right option or
  whether `wasm` family of targets are special enough to warrant
  special-casing these targets specifically.

As for the last point, there appears to be a fair amount of support for
reducing the boilerplate in specifying architectures from the same
family, while ignoring their pointer width. The suggested way forward
would be to propose such a change as a separate RFC as it is potentially
a quite contentious addition.
2021-04-07 23:09:56 +03:00
..
cgu_reuse_tracker.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
code_stats.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
config.rs Remove the insta-stable cfg(wasm) 2021-04-07 23:09:56 +03:00
filesearch.rs fix review 2021-02-25 04:21:12 +03:00
lib.rs Move SanitizerSet to rustc_target 2021-04-03 00:37:49 +03:00
options.rs Rollup merge of #82483 - tmiasko:option-from-str, r=matthewjasper 2021-04-05 13:03:37 +02:00
output.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
parse.rs Remove (lots of) dead code 2021-03-27 22:16:33 -04:00
search_paths.rs use strip_prefix over starts_with and manual slicing based on pattern length (clippy::manual_strip) 2020-09-17 10:13:16 +02:00
session.rs Maintain supported sanitizers as a target property 2021-04-03 00:37:49 +03:00
utils.rs Pre-canoncalize ExternLocation::ExactPaths 2021-01-29 11:02:12 +01:00