File tree 9 files changed +62
-54
lines changed
9 files changed +62
-54
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ test = false
36
36
37
37
[dependencies ]
38
38
build_helper = { path = " ../build_helper" }
39
- cmake = " 0.1.23 "
39
+ cmake = " 0.1.38 "
40
40
filetime = " 0.2"
41
41
num_cpus = " 1.0"
42
42
getopts = " 0.2"
43
- cc = " 1.0.1 "
43
+ cc = " 1.0.35 "
44
44
libc = " 0.2"
45
45
serde = " 1.0.8"
46
46
serde_derive = " 1.0.8"
Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ pub fn check(build: &mut Build) {
131
131
continue ;
132
132
}
133
133
134
+ // We don't use a C compiler on wasm32
135
+ if target. contains ( "wasm32" ) {
136
+ continue ;
137
+ }
138
+
134
139
if !build. config . dry_run {
135
140
cmd_finder. must_have ( build. cc ( * target) ) ;
136
141
if let Some ( ar) = build. ar ( * target) {
Original file line number Diff line number Diff line change @@ -1016,7 +1016,10 @@ impl Step for Compiletest {
1016
1016
// Also provide `rust_test_helpers` for the host.
1017
1017
builder. ensure ( native:: TestHelpers { target : compiler. host } ) ;
1018
1018
1019
- builder. ensure ( native:: TestHelpers { target } ) ;
1019
+ // wasm32 can't build the test helpers
1020
+ if !target. contains ( "wasm32" ) {
1021
+ builder. ensure ( native:: TestHelpers { target } ) ;
1022
+ }
1020
1023
builder. ensure ( RemoteCopyLibs { compiler, target } ) ;
1021
1024
1022
1025
let mut cmd = builder. tool_cmd ( Tool :: Compiletest ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ path = "lib.rs"
12
12
13
13
[dependencies ]
14
14
core = { path = " ../libcore" }
15
- compiler_builtins = { version = " 0.1.0 " , features = [' rustc-dep-of-std' ] }
15
+ compiler_builtins = { version = " 0.1.10 " , features = [' rustc-dep-of-std' ] }
16
16
17
17
[dev-dependencies ]
18
18
rand = " 0.6"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
12
12
13
13
[build-dependencies ]
14
14
build_helper = { path = " ../build_helper" }
15
- cmake = " 0.1.18 "
15
+ cmake = " 0.1.38 "
16
16
17
17
[dependencies ]
18
18
alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
12
12
13
13
[build-dependencies ]
14
14
build_helper = { path = " ../build_helper" }
15
- cmake = " 0.1.18 "
15
+ cmake = " 0.1.38 "
16
16
17
17
[dependencies ]
18
18
alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
12
12
13
13
[build-dependencies ]
14
14
build_helper = { path = " ../build_helper" }
15
- cmake = " 0.1.18 "
15
+ cmake = " 0.1.38 "
16
16
17
17
[dependencies ]
18
18
alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
12
12
13
13
[build-dependencies ]
14
14
build_helper = { path = " ../build_helper" }
15
- cmake = " 0.1.18 "
15
+ cmake = " 0.1.38 "
16
16
17
17
[dependencies ]
18
18
alloc = { path = " ../liballoc" }
You can’t perform that action at this time.
0 commit comments