Skip to content

Commit 72d8b6c

Browse files
committed
Fix rustc test suite
And re-enable a no longer failing test.
1 parent fd7ec3a commit 72d8b6c

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

scripts/setup_rust_fork.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ diff --git a/src/bootstrap/src/core/config/config.rs b/src/bootstrap/src/core/co
5353
index a656927b1f6..44fc5546fac 100644
5454
--- a/src/bootstrap/src/core/config/config.rs
5555
+++ b/src/bootstrap/src/core/config/config.rs
56-
@@ -2249,13 +2249,6 @@ pub fn parse_download_ci_llvm<'a>(
56+
@@ -2249,14 +2249,6 @@ pub fn parse_download_ci_llvm<'a>(
5757
);
5858
}
5959
60-
- if b && dwn_ctx.is_running_on_ci {
61-
- // On CI, we must always rebuild LLVM if there were any modifications to it
60+
- #[cfg(not(test))]
61+
- if b && dwn_ctx.is_running_on_ci && CiEnv::is_rust_lang_managed_ci_job() {
62+
- // On rust-lang CI, we must always rebuild LLVM if there were any modifications to it
6263
- panic!(
6364
- "\`llvm.download-ci-llvm\` cannot be set to \`true\` on CI. Use \`if-unchanged\` instead."
6465
- );

scripts/test_rustc_tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ rm tests/ui/abi/mir/mir_codegen_calls_variadic.rs # requires float varargs
4646
rm tests/ui/abi/variadic-ffi.rs # requires callee side vararg support
4747
rm -r tests/run-make/c-link-to-rust-va-list-fn # requires callee side vararg support
4848
rm tests/ui/c-variadic/valid.rs # same
49-
rm tests/ui/c-variadic/naked.rs # same
49+
rm tests/ui/c-variadic/trait-method.rs # same
50+
rm tests/ui/c-variadic/inherent-method.rs # same
51+
rm tests/ui/c-variadic/same-program-multiple-abis-x86_64.rs # variadics for calling conventions other than C unsupported
5052
rm tests/ui/delegation/fn-header.rs
5153

5254
# misc unimplemented things
@@ -64,7 +66,6 @@ rm -r tests/run-make/embed-source-dwarf # embedding sources in debuginfo
6466
rm -r tests/run-make/used-proc-macro # used(linker) isn't supported yet
6567
rm tests/ui/linking/no-gc-encapsulation-symbols.rs # same
6668
rm tests/ui/attributes/fn-align-dyn.rs # per-function alignment not supported
67-
rm tests/ui/c-variadic/same-program-multiple-abis-x86_64.rs # variadics for calling conventions other than C unsupported
6869
rm -r tests/ui/explicit-tail-calls # tail calls
6970

7071
# requires LTO

0 commit comments

Comments
 (0)