rust/compiler/rustc_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
..
check_attr.rs Rollup merge of #78208 - liketechnik:issue-69399, r=oli-obk 2020-10-25 18:43:40 +09:00
check_const.rs switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable 2020-10-21 20:54:20 +02:00
dead.rs Remove weird slice conversion 2020-10-18 10:31:58 +02:00
diagnostic_items.rs Cache foreign_modules query 2020-10-27 16:21:55 +01:00
entry.rs Enforce crate level attributes checks 2020-10-04 13:36:47 +02:00
hir_id_validator.rs implement nits 2020-10-07 10:19:04 +02:00
hir_stats.rs rustc_ast: visit_mac -> visit_mac_call 2020-11-03 23:39:51 +03:00
intrinsicck.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
lang_items.rs
layout_test.rs
lib_features.rs
lib.rs liveness: Use newtype_index for Variable and LiveNode 2020-09-26 16:44:41 +02:00
liveness.rs Mark InOut operands as used in RWU table with write_place 2020-10-18 23:51:10 -05:00
loops.rs
reachable.rs
region.rs
stability.rs Improve deprecation attribute diagnostic messages. 2020-11-02 13:21:18 +01:00
upvars.rs
weak_lang_items.rs Collapse all uses of target.options.foo into target.foo 2020-11-08 17:29:13 +03:00