rust/compiler/rustc_ast_passes/src
Jonas Schievink 105f4b8792
Rollup merge of #78875 - petrochenkov:cleantarg, r=Mark-Simulacrum
rustc_target: Further cleanup use of target options

Follow up to https://github.com/rust-lang/rust/pull/77729.

Implements items 2 and 4 from the list in https://github.com/rust-lang/rust/pull/77729#issue-500228243.

The first commit collapses uses of `target.options.foo` into `target.foo`.

The second commit renames some target options to avoid tautology:
`target.target_endian` -> `target.endian`
`target.target_c_int_width` -> `target.c_int_width`
`target.target_os` -> `target.os`
`target.target_env` -> `target.env`
`target.target_vendor` -> `target.vendor`
`target.target_family` -> `target.os_family`
`target.target_mcount` -> `target.mcount`

r? `@Mark-Simulacrum`
2020-11-10 14:45:21 +01:00
..
ast_validation.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00
feature_gate.rs Add inline_const feature flag 2020-10-16 15:13:28 -03:00
lib.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
node_count.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
show_span.rs rustc_ast: Do not panic by default when visiting macro calls 2020-11-03 20:38:20 +03:00