File tree Expand file tree Collapse file tree 9 files changed +62
-54
lines changed Expand file tree Collapse file tree 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
3636
3737[dependencies ]
3838build_helper = { path = " ../build_helper" }
39- cmake = " 0.1.23 "
39+ cmake = " 0.1.38 "
4040filetime = " 0.2"
4141num_cpus = " 1.0"
4242getopts = " 0.2"
43- cc = " 1.0.1 "
43+ cc = " 1.0.35 "
4444libc = " 0.2"
4545serde = " 1.0.8"
4646serde_derive = " 1.0.8"
Original file line number Diff line number Diff line change @@ -131,6 +131,11 @@ pub fn check(build: &mut Build) {
131131 continue ;
132132 }
133133
134+ // We don't use a C compiler on wasm32
135+ if target. contains ( "wasm32" ) {
136+ continue ;
137+ }
138+
134139 if !build. config . dry_run {
135140 cmd_finder. must_have ( build. cc ( * target) ) ;
136141 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 {
10161016 // Also provide `rust_test_helpers` for the host.
10171017 builder. ensure ( native:: TestHelpers { target : compiler. host } ) ;
10181018
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+ }
10201023 builder. ensure ( RemoteCopyLibs { compiler, target } ) ;
10211024
10221025 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"
1212
1313[dependencies ]
1414core = { 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' ] }
1616
1717[dev-dependencies ]
1818rand = " 0.6"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
1212
1313[build-dependencies ]
1414build_helper = { path = " ../build_helper" }
15- cmake = " 0.1.18 "
15+ cmake = " 0.1.38 "
1616
1717[dependencies ]
1818alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
1212
1313[build-dependencies ]
1414build_helper = { path = " ../build_helper" }
15- cmake = " 0.1.18 "
15+ cmake = " 0.1.38 "
1616
1717[dependencies ]
1818alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
1212
1313[build-dependencies ]
1414build_helper = { path = " ../build_helper" }
15- cmake = " 0.1.18 "
15+ cmake = " 0.1.38 "
1616
1717[dependencies ]
1818alloc = { path = " ../liballoc" }
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test = false
1212
1313[build-dependencies ]
1414build_helper = { path = " ../build_helper" }
15- cmake = " 0.1.18 "
15+ cmake = " 0.1.38 "
1616
1717[dependencies ]
1818alloc = { path = " ../liballoc" }
You can’t perform that action at this time.
0 commit comments