File tree 3 files changed +9
-11
lines changed
3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ pub(crate) fn prepare(dirs: &Dirs) {
15
15
RelPath :: DOWNLOAD . ensure_exists ( dirs) ;
16
16
crate :: tests:: RAND_REPO . fetch ( dirs) ;
17
17
crate :: tests:: REGEX_REPO . fetch ( dirs) ;
18
- crate :: tests:: PORTABLE_SIMD_REPO . fetch ( dirs) ;
19
18
}
20
19
21
20
pub ( crate ) fn prepare_stdlib ( dirs : & Dirs , rustc : & Path ) {
Original file line number Diff line number Diff line change @@ -130,16 +130,10 @@ pub(crate) static REGEX_REPO: GitRepo = GitRepo::github(
130
130
131
131
pub ( crate ) static REGEX : CargoProject = CargoProject :: new ( & REGEX_REPO . source_dir ( ) , "regex_target" ) ;
132
132
133
- pub ( crate ) static PORTABLE_SIMD_REPO : GitRepo = GitRepo :: github (
134
- "rust-lang" ,
135
- "portable-simd" ,
136
- "5794c837bc605c4cd9dbb884285976dfdb293cce" ,
137
- "a64d8fdd0ed0d9c4" ,
138
- "portable-simd" ,
139
- ) ;
133
+ pub ( crate ) static PORTABLE_SIMD_SRC : RelPath = RelPath :: BUILD . join ( "coretests" ) ;
140
134
141
135
pub ( crate ) static PORTABLE_SIMD : CargoProject =
142
- CargoProject :: new ( & PORTABLE_SIMD_REPO . source_dir ( ) , "portable-simd_target" ) ;
136
+ CargoProject :: new ( & PORTABLE_SIMD_SRC , "portable-simd_target" ) ;
143
137
144
138
static LIBCORE_TESTS_SRC : RelPath = RelPath :: BUILD . join ( "coretests" ) ;
145
139
@@ -221,7 +215,12 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[
221
215
}
222
216
} ) ,
223
217
TestCase :: custom ( "test.portable-simd" , & |runner| {
224
- PORTABLE_SIMD_REPO . patch ( & runner. dirs ) ;
218
+ apply_patches (
219
+ & runner. dirs ,
220
+ "portable-simd" ,
221
+ & runner. stdlib_source . join ( "library/portable-simd" ) ,
222
+ & PORTABLE_SIMD_SRC . to_path ( & runner. dirs ) ,
223
+ ) ;
225
224
226
225
PORTABLE_SIMD . clean ( & runner. dirs ) ;
227
226
Original file line number Diff line number Diff line change 1
1
[toolchain]
2
- channel = "nightly-2024-03-30 "
2
+ channel = "nightly-2024-04-05 "
3
3
components = ["rust-src", "rustc-dev", "llvm-tools"]
You can’t perform that action at this time.
0 commit comments