diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-06-20 19:14:58 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-06-20 19:14:58 +0200 |
| commit | b79102c933aff3393a2b392339dec0e8291ef5ee (patch) | |
| tree | b2921d38b01e81e5c0307383269f8ebb78cc3b6c /build_sysroot | |
| parent | fc5e583006b4b7e8d248789de1258232c6fc01c4 (diff) | |
| download | rust-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.toml | 4 |
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" |
