File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,24 @@ function test_rustc() {
165
165
git checkout $( rustc -V | cut -d' ' -f3 | tr -d ' (' )
166
166
export RUSTFLAGS=
167
167
168
+ git patch - << 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
+
168
186
rm config.toml || true
169
187
170
188
cat > config.toml << EOF
You can’t perform that action at this time.
0 commit comments