]> git.lizzy.rs Git - rust.git/blob - build_sysroot/Cargo.toml
Rustup to rustc 1.39.0-nightly (eeba189cf 2019-08-24)
[rust.git] / build_sysroot / Cargo.toml
1 [package]
2 authors = ["bjorn3 <bjorn3@users.noreply.github.com>"]
3 name = "sysroot"
4 version = "0.0.0"
5
6 [dependencies]
7 core = { path = "./sysroot_src/src/libcore" }
8 compiler_builtins = "0.1"
9 alloc = { path = "./sysroot_src/src/liballoc" }
10 std = { path = "./sysroot_src/src/libstd", features = ["panic_unwind"] }
11 test = { path = "./sysroot_src/src/libtest" }
12
13 alloc_system = { path = "./alloc_system" }
14
15 [patch.crates-io]
16 rustc-std-workspace-core = { path = "./sysroot_src/src/tools/rustc-std-workspace-core" }
17 rustc-std-workspace-alloc = { path = "./sysroot_src/src/tools/rustc-std-workspace-alloc" }
18 rustc-std-workspace-std = { path = "./sysroot_src/src/tools/rustc-std-workspace-std" }
19
20 [profile.dev]
21 # FIXME On macOS statics and promoted constants have the wrong alignment. This causes a debug
22 # assertion in `copy_nonoverlapping` to panic.
23 debug-assertions = false
24
25 [profile.release]
26 debug = true
27 debug-assertions = false