rust/compiler/rustc_session/src
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
..
cgu_reuse_tracker.rs Make Diagnostic::span_fatal unconditionally raise an error 2021-05-08 23:12:04 -04:00
code_stats.rs
config.rs Implement cfg(target_abi) (RFC 2992) 2021-07-07 08:52:35 -07:00
filesearch.rs Adjust target search algorithm for rustlib path 2021-05-10 19:15:19 +03:00
lib.rs Query-ify global limit attribute handling 2021-07-04 12:33:14 -05:00
options.rs Introduce -Zprofile-closures to evaluate the impact of 2229 2021-06-28 14:21:55 -04:00
output.rs Use command line metadata path if provided 2021-05-28 22:24:24 -07:00
parse.rs add track_path::path fn for proc-macro usage 2021-07-02 07:13:19 +02: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 Auto merge of #86572 - rylev:force-warnings-always, r=nikomatsakis 2021-07-06 16:50:33 +00:00
utils.rs Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00