diff options
| author | bors <bors@rust-lang.org> | 2021-07-13 12:25:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-07-13 12:25:10 +0000 |
| commit | ca99e3eb3adf61573b11d859ce2b9ff7db48ccd4 (patch) | |
| tree | 4358d504c5ce2e1fe670ae4d3bbebc74a03d5f48 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 5aff6dd07a562a2cba3c57fc3460a72acb6bef46 (diff) | |
| parent | c3fbafddc06fda5f282790c9c16378d7786cbe03 (diff) | |
| download | rust-ca99e3eb3adf61573b11d859ce2b9ff7db48ccd4.tar.gz rust-ca99e3eb3adf61573b11d859ce2b9ff7db48ccd4.zip | |
Auto merge of #86922 - joshtriplett:target-abi, r=oli-obk
target abi Implement cfg(target_abi) (RFC 2992) Add an `abi` field to `TargetOptions`, defaulting to "". Support using `cfg(target_abi = "...")` for conditional compilation on that field. Gated by `feature(cfg_target_abi)`. Add a test for `target_abi`, and a test for the feature gate. Add `target_abi` to tidy as a platform-specific cfg. Update targets to use `target_abi` All eabi targets have `target_abi = "eabi".` All eabihf targets have `target_abi = "eabihf"`. `armv6_unknown_freebsd` and `armv7_unknown_freebsd` have `target_abi = "eabihf"`. All abi64 targets have `target_abi = "abi64"`. All ilp32 targets have `target_abi = "ilp32"`. All softfloat targets have `target_abi = "softfloat"`. All *-uwp-windows-* targets have `target_abi = "uwp"`. All spe targets have `target_abi = "spe"`. All macabi targets have `target_abi = "macabi"`. aarch64-apple-ios-sim has `target_abi = "sim"`. `x86_64-fortanix-unknown-sgx` has `target_abi = "fortanix"`. `x86_64-unknown-linux-gnux32` has `target_abi = "x32"`. Add FIXME entries for targets for which existing values need to change once `cfg_target_abi` becomes stable. (All of them are tier 3 targets.) Add a test for `target_abi` in `--print cfg`.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
