]> git.proxmox.com Git - rustc.git/blob - compiler/rustc_codegen_cranelift/build_sysroot/Cargo.toml
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_codegen_cranelift / build_sysroot / Cargo.toml
1 [package]
2 name = "sysroot"
3 version = "0.0.0"
4
5 [dependencies]
6 core = { path = "./sysroot_src/library/core" }
7 alloc = { path = "./sysroot_src/library/alloc" }
8 std = { path = "./sysroot_src/library/std", features = ["panic_unwind", "backtrace"] }
9 test = { path = "./sysroot_src/library/test" }
10
11 compiler_builtins = { version = "0.1.39", default-features = false, features = ["no-asm"] }
12
13 [patch.crates-io]
14 rustc-std-workspace-core = { path = "./sysroot_src/library/rustc-std-workspace-core" }
15 rustc-std-workspace-alloc = { path = "./sysroot_src/library/rustc-std-workspace-alloc" }
16 rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-std" }
17
18 [profile.dev]
19 lto = "off"
20
21 [profile.release]
22 debug = true
23 incremental = true
24 lto = "off"
25
26 # Mandatory for correctly compiling compiler-builtins
27 [profile.dev.package.compiler_builtins]
28 debug-assertions = false
29 overflow-checks = false
30 codegen-units = 10000
31
32 [profile.release.package.compiler_builtins]
33 debug-assertions = false
34 overflow-checks = false
35 codegen-units = 10000