2024-10-12 06:07:49 -05:00
|
|
|
cargo-features = ["profile-rustflags"]
|
|
|
|
|
2023-05-09 03:36:37 -05:00
|
|
|
[workspace]
|
2023-08-17 18:28:02 -05:00
|
|
|
resolver = "2"
|
2024-10-10 01:35:17 -05:00
|
|
|
members = [
|
2024-10-10 08:48:08 -05:00
|
|
|
"bytecode",
|
|
|
|
"vm",
|
|
|
|
"xrt",
|
2024-10-10 01:35:17 -05:00
|
|
|
"xtask",
|
2024-10-10 08:48:08 -05:00
|
|
|
"lang",
|
2024-10-10 01:35:17 -05:00
|
|
|
"depell",
|
2024-10-10 08:48:08 -05:00
|
|
|
"depell/wasm-fmt",
|
|
|
|
"depell/wasm-hbc",
|
2024-10-12 06:07:49 -05:00
|
|
|
"depell/wasm-rt",
|
2024-10-10 01:35:17 -05:00
|
|
|
]
|
2024-07-18 10:55:55 -05:00
|
|
|
|
2024-10-10 08:48:08 -05:00
|
|
|
[workspace.dependencies]
|
|
|
|
hbbytecode = { path = "bytecode", default-features = false }
|
2024-10-12 06:07:49 -05:00
|
|
|
hbvm = { path = "vm", default-features = false }
|
2024-10-10 08:48:08 -05:00
|
|
|
hbxrt = { path = "xrt" }
|
|
|
|
hblang = { path = "lang", default-features = false }
|
|
|
|
hbjit = { path = "jit" }
|
|
|
|
|
2024-09-16 08:27:38 -05:00
|
|
|
[profile.release]
|
|
|
|
lto = true
|
2024-10-13 05:25:12 -05:00
|
|
|
debug = true
|
|
|
|
#strip = true
|
2024-09-16 08:27:38 -05:00
|
|
|
codegen-units = 1
|
|
|
|
panic = "abort"
|
|
|
|
|
2024-07-18 10:55:55 -05:00
|
|
|
[profile.small]
|
2024-10-12 08:04:58 -05:00
|
|
|
rustflags = ["-Zfmt-debug=none", "-Zlocation-detail=none"]
|
2024-07-18 10:55:55 -05:00
|
|
|
inherits = "release"
|
|
|
|
opt-level = "z"
|
2024-10-12 08:04:58 -05:00
|
|
|
strip = true
|
2024-07-18 10:55:55 -05:00
|
|
|
lto = true
|
|
|
|
codegen-units = 1
|
2024-09-16 08:27:38 -05:00
|
|
|
panic = "abort"
|
2024-10-12 06:07:49 -05:00
|
|
|
|
2024-10-12 08:04:58 -05:00
|
|
|
[profile.small-dev]
|
|
|
|
inherits = "dev"
|
|
|
|
opt-level = "z"
|
|
|
|
strip = "debuginfo"
|
|
|
|
panic = "abort"
|