diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-10-28 20:35:49 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-11-02 21:03:27 +0100 |
| commit | 4b290d40a5f152dcb71e788cb42ebf34be48e760 (patch) | |
| tree | f5ace3eb60c7977032f7146251d31dcb0168a6a3 /src/bootstrap | |
| parent | edfd67b598161646dc990f29cae7b65ac9713cef (diff) | |
Only run cg_gcc tests on linux x86_64
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/test.rs | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/bootstrap/src/core/build_steps/test.rs b/src/bootstrap/src/core/build_steps/test.rs index 44e5de0fa3b..79a2e5366e9 100644 --- a/src/bootstrap/src/core/build_steps/test.rs +++ b/src/bootstrap/src/core/build_steps/test.rs @@ -3121,16 +3121,8 @@ impl Step for CodegenGCC { } let triple = run.target.triple; - let target_supported = if triple.contains("linux") { - triple.contains("x86_64") - || triple.contains("aarch64") - || triple.contains("s390x") - || triple.contains("riscv64gc") - } else if triple.contains("darwin") || triple.contains("windows") { - triple.contains("x86_64") - } else { - false - }; + let target_supported = + if triple.contains("linux") { triple.contains("x86_64") } else { false }; if !target_supported { builder.info("target not supported by rustc_codegen_gcc. skipping"); return; |
