about summary refs log tree commit diff
path: root/build_sysroot
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-06-20 19:14:58 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-06-20 19:14:58 +0200
commitb79102c933aff3393a2b392339dec0e8291ef5ee (patch)
treeb2921d38b01e81e5c0307383269f8ebb78cc3b6c /build_sysroot
parentfc5e583006b4b7e8d248789de1258232c6fc01c4 (diff)
downloadrust-b79102c933aff3393a2b392339dec0e8291ef5ee.tar.gz
rust-b79102c933aff3393a2b392339dec0e8291ef5ee.zip
Disable "LTO is not supported" warning for sysroot build
Diffstat (limited to 'build_sysroot')
-rw-r--r--build_sysroot/Cargo.toml4
1 files changed, 4 insertions, 0 deletions
diff --git a/build_sysroot/Cargo.toml b/build_sysroot/Cargo.toml
index bb66d201a51..339e0d5fdc7 100644
--- a/build_sysroot/Cargo.toml
+++ b/build_sysroot/Cargo.toml
@@ -17,6 +17,10 @@ rustc-std-workspace-core = { path = "./sysroot_src/src/tools/rustc-std-workspace
 rustc-std-workspace-alloc = { path = "./sysroot_src/src/tools/rustc-std-workspace-alloc" }
 rustc-std-workspace-std = { path = "./sysroot_src/src/tools/rustc-std-workspace-std" }
 
+[profile.dev]
+lto = "off"
+
 [profile.release]
 debug = true
 incremental = true
+lto = "off"