rust/src/test/ui/cfg
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
..
assume-incomplete-release Add tests 2021-01-29 07:59:19 +01:00
auxiliary
cfg-attr-cfg.rs
cfg-attr-crate.rs
cfg-family.rs Set target_family="wasm" for wasm targets 2021-05-03 00:32:44 +03:00
cfg-in-crate-1.rs
cfg-macros-foo.rs
cfg-macros-notfoo.rs
cfg-match-arm.rs
cfg-panic-abort.rs Add #[cfg(panic = "...")] 2020-11-09 15:30:49 +00:00
cfg-panic.rs Add needs-unwind to tests 2021-05-06 02:49:34 +00:00
cfg-target-abi.rs Implement cfg(target_abi) (RFC 2992) 2021-07-07 08:52:35 -07:00
cfg-target-family.rs Set target_family="wasm" for wasm targets 2021-05-03 00:32:44 +03:00
cfg-target-vendor.rs
cfg_attr.rs
cfg_inner_static.rs
cfg_stmt_expr.rs syntax: Support modern attribute syntax in the meta matcher 2019-09-30 22:58:22 +03:00
cfgs-on-items.rs
conditional-compile-arch.rs test: ui: skip tests which aren't appropriate for RISC-V 2020-06-04 15:59:59 +01:00
conditional-compile.rs Update tests for extern block linting 2021-01-13 07:49:16 -05:00
crate-attributes-using-cfg_attr.rs