File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,24 @@ function test_rustc() {
165165 git checkout $( rustc -V | cut -d' ' -f3 | tr -d ' (' )
166166 export RUSTFLAGS=
167167
168+ git apply - << EOF
169+ diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs
170+ index 887d27fd6dca4..2c2239f2b83d1 100644
171+ --- a/src/tools/compiletest/src/header.rs
172+ +++ b/src/tools/compiletest/src/header.rs
173+ @@ -806,8 +806,8 @@ pub fn make_test_description<R: Read>(
174+ cfg: Option<&str>,
175+ ) -> test::TestDesc {
176+ let mut ignore = false;
177+ #[cfg(not(bootstrap))]
178+ - let ignore_message: Option<String> = None;
179+ + let ignore_message: Option<&str> = None;
180+ let mut should_fail = false;
181+
182+ let rustc_has_profiler_support = env::var_os("RUSTC_PROFILER_SUPPORT").is_some();
183+
184+ EOF
185+
168186 rm config.toml || true
169187
170188 cat > config.toml << EOF
You can’t perform that action at this time.
0 commit comments