2020-04-11 20:19:39 +08:00
|
|
|
[workspace]
|
2020-04-22 05:39:44 +08:00
|
|
|
members = [
|
2020-06-30 17:19:09 +08:00
|
|
|
"libc",
|
2020-04-22 05:39:44 +08:00
|
|
|
"libdyld",
|
2020-09-01 14:43:16 +08:00
|
|
|
"libconfig",
|
2020-06-05 17:14:36 +08:00
|
|
|
"libcoreio",
|
2020-06-30 17:22:44 +08:00
|
|
|
"libdwarf",
|
2020-06-30 17:19:09 +08:00
|
|
|
"libunwind",
|
2020-04-28 19:07:49 +08:00
|
|
|
"runtime",
|
|
|
|
"szl"
|
2020-04-22 05:39:44 +08:00
|
|
|
]
|
2020-04-11 20:19:39 +08:00
|
|
|
|
2020-09-01 09:39:21 +08:00
|
|
|
# Note: we are using dev profile for szl to override the opt-level only
|
|
|
|
[profile.dev]
|
|
|
|
panic = "abort"
|
|
|
|
debug = true
|
|
|
|
codegen-units = 1
|
|
|
|
opt-level = 'z'
|
|
|
|
lto = true
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = false
|
|
|
|
|
2020-04-11 20:19:39 +08:00
|
|
|
[profile.release]
|
|
|
|
panic = "abort"
|
|
|
|
debug = true
|
2020-08-06 10:32:03 +08:00
|
|
|
codegen-units = 1
|
2020-09-01 09:44:34 +08:00
|
|
|
opt-level = 2
|
2020-04-11 20:19:39 +08:00
|
|
|
lto = true
|
2020-06-05 17:14:36 +08:00
|
|
|
|
|
|
|
[patch.crates-io]
|
|
|
|
core_io = { path = "./libcoreio" }
|
2020-08-25 16:24:30 +08:00
|
|
|
compiler_builtins = { git = "https://git.m-labs.hk/M-Labs/compiler-builtins-zynq.git"}
|