rust/compiler/rustc_span
Josh Triplett 84d6e8aed3 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.

This does not add an abi to any existing target.
2021-07-07 08:52:35 -07:00
..
src Implement cfg(target_abi) (RFC 2992) 2021-07-07 08:52:35 -07:00
Cargo.toml rustc_span: Explicitly handle crates that differ from package names 2021-06-24 23:48:53 -07:00