2018-12-14 06:58:33 -06:00
|
|
|
[package]
|
|
|
|
name = "sysroot"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
[dependencies]
|
2020-07-30 07:58:27 -05:00
|
|
|
core = { path = "./sysroot_src/library/core" }
|
|
|
|
alloc = { path = "./sysroot_src/library/alloc" }
|
|
|
|
std = { path = "./sysroot_src/library/std", features = ["panic_unwind", "backtrace"] }
|
|
|
|
test = { path = "./sysroot_src/library/test" }
|
2019-07-26 04:45:01 -05:00
|
|
|
|
2021-02-01 03:11:46 -06:00
|
|
|
compiler_builtins = { version = "0.1.39", default-features = false, features = ["no-asm"] }
|
2020-12-27 03:30:38 -06:00
|
|
|
|
2018-12-14 06:58:33 -06:00
|
|
|
[patch.crates-io]
|
2020-07-30 07:58:27 -05:00
|
|
|
rustc-std-workspace-core = { path = "./sysroot_src/library/rustc-std-workspace-core" }
|
|
|
|
rustc-std-workspace-alloc = { path = "./sysroot_src/library/rustc-std-workspace-alloc" }
|
|
|
|
rustc-std-workspace-std = { path = "./sysroot_src/library/rustc-std-workspace-std" }
|
2019-02-03 04:25:56 -06:00
|
|
|
|
2020-06-20 12:14:58 -05:00
|
|
|
[profile.dev]
|
|
|
|
lto = "off"
|
|
|
|
|
2019-02-03 04:25:56 -06:00
|
|
|
[profile.release]
|
|
|
|
debug = true
|
2020-06-13 12:19:38 -05:00
|
|
|
incremental = true
|
2020-06-20 12:14:58 -05:00
|
|
|
lto = "off"
|
2022-03-20 10:55:21 -05:00
|
|
|
|
|
|
|
# Mandatory for correctly compiling compiler-builtins
|
|
|
|
[profile.dev.package.compiler_builtins]
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
codegen-units = 10000
|
|
|
|
|
|
|
|
[profile.release.package.compiler_builtins]
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
codegen-units = 10000
|