diff options
| author | Mads Marquart <mads@marquart.dk> | 2025-03-01 03:10:05 +0100 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-08-08 13:29:46 +0200 |
| commit | d434cae18f92d8a5ef8996fb579e2c11efbaa2cb (patch) | |
| tree | da703904dd9303338262092b848e2d122b0e4d42 /src/tools | |
| parent | 2886b36df4a646dd8d82fb65bf0c9d8d96c1f71a (diff) | |
| download | rust-d434cae18f92d8a5ef8996fb579e2c11efbaa2cb.tar.gz rust-d434cae18f92d8a5ef8996fb579e2c11efbaa2cb.zip | |
Add target_env = "macabi" and target_env = "sim"
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/compiletest/src/directives/tests.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/tools/compiletest/src/directives/tests.rs b/src/tools/compiletest/src/directives/tests.rs index 30d8537b51a..33a02eb29fd 100644 --- a/src/tools/compiletest/src/directives/tests.rs +++ b/src/tools/compiletest/src/directives/tests.rs @@ -637,6 +637,7 @@ fn matches_env() { ("x86_64-unknown-linux-gnu", "gnu"), ("x86_64-fortanix-unknown-sgx", "sgx"), ("arm-unknown-linux-musleabi", "musl"), + ("aarch64-apple-ios-macabi", "macabi"), ]; for (target, env) in envs { let config: Config = cfg().target(target).build(); @@ -647,11 +648,7 @@ fn matches_env() { #[test] fn matches_abi() { - let abis = [ - ("aarch64-apple-ios-macabi", "macabi"), - ("x86_64-unknown-linux-gnux32", "x32"), - ("arm-unknown-linux-gnueabi", "eabi"), - ]; + let abis = [("x86_64-unknown-linux-gnux32", "x32"), ("arm-unknown-linux-gnueabi", "eabi")]; for (target, abi) in abis { let config: Config = cfg().target(target).build(); assert!(config.matches_abi(abi), "{target} {abi}"); |
