about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2019-02-03 11:25:56 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2019-02-03 11:25:56 +0100
commited9528a104bf5a18dc37f1da5f4c2a1edf33ce49 (patch)
tree9b52ca5241257e4bedc04360b6075efe3357c181
parent3308daae9d28603d52f753171883fa79d8b5d7a2 (diff)
downloadrust-ed9528a104bf5a18dc37f1da5f4c2a1edf33ce49.tar.gz
rust-ed9528a104bf5a18dc37f1da5f4c2a1edf33ce49.zip
Misc changes
-rw-r--r--build_sysroot/Cargo.toml3
-rwxr-xr-xbuild_sysroot/build_sysroot.sh1
2 files changed, 4 insertions, 0 deletions
diff --git a/build_sysroot/Cargo.toml b/build_sysroot/Cargo.toml
index d4873602d4d..725c0b40d89 100644
--- a/build_sysroot/Cargo.toml
+++ b/build_sysroot/Cargo.toml
@@ -13,3 +13,6 @@ alloc_system = { path = "./alloc_system" }
 [patch.crates-io]
 rustc-std-workspace-core = { path = "./sysroot_src/src/tools/rustc-std-workspace-core" }
 compiler_builtins = { path = "./compiler_builtins" }
+
+[profile.release]
+debug = true
diff --git a/build_sysroot/build_sysroot.sh b/build_sysroot/build_sysroot.sh
index 33da1e3dd67..2e332be7e60 100755
--- a/build_sysroot/build_sysroot.sh
+++ b/build_sysroot/build_sysroot.sh
@@ -6,6 +6,7 @@ cd $(dirname "$0")
 cargo clean
 rm Cargo.lock 2>/dev/null || true
 rm -r sysroot 2>/dev/null || true
+rm -r target 2>/dev/null || true
 
 # FIXME find a better way to get the target triple
 unamestr=`uname`