From 5c4a8b0ca05ef677b13a7b86ed4d56431021c021 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 8 Aug 2018 19:42:11 +0200 Subject: [PATCH] Make sure build.sh exits with non-zero error code on errors --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 762dc3a8d944..a4f5e59bc893 100755 --- a/build.sh +++ b/build.sh @@ -7,6 +7,6 @@ RUSTC="rustc -Zcodegen-backend=$(pwd)/../target/debug/librustc_codegen_cranelift $RUSTC mini_core.rs --crate-name mini_core && $RUSTC example.rs && $RUSTC mini_core_hello_world.rs && -$RUSTC ../target/libcore/src/libcore/lib.rs +$RUSTC ../target/libcore/src/libcore/lib.rs && rm *.rlib