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-11-07 10:02:22 -06:00
|
|
|
"depell",
|
|
|
|
"depell/wasm-fmt",
|
|
|
|
"depell/wasm-hbc",
|
|
|
|
"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-31 08:56:55 -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-31 08:56:55 -05:00
|
|
|
strip = "debuginfo"
|
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"
|
2024-10-27 05:32:34 -05:00
|
|
|
|
|
|
|
[profile.fuzz]
|
|
|
|
inherits = "dev"
|
|
|
|
debug = true
|
|
|
|
opt-level = 3
|
|
|
|
panic = "abort"
|