Skip to content

Commit 3f7867c

Browse files
committed
Rollup merge of rust-lang#31985 - ashleysommer:libbackgrace_emscripten_fix, r=alexcrichton
Was getting error: ``` running: "sh" "/home/flubba86/rust/src/libstd/../libbacktrace/configure" "--with-pic" "--disable-multilib" "--disable-shared" "--disable-host-shared" "--host=asmjs-unknown-emscripten" "--build=x86_64-unknown-linux-gnu" ... Invalid configuration `asmjs-unknown-emscripten': system `emscripten' not recognized ``` This commit adds the emscripten target to the libbacktrace configure script so it is no longer unrecognized.
2 parents 4ed3826 + d846f49 commit 3f7867c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fn main() {
2323

2424
let target = env::var("TARGET").unwrap();
2525
let host = env::var("HOST").unwrap();
26-
if !target.contains("apple") && !target.contains("msvc") {
26+
if !target.contains("apple") && !target.contains("msvc") && !target.contains("emscripten"){
2727
build_libbacktrace(&host, &target);
2828
}
2929

0 commit comments

Comments
 (0)