forked from AbleOS/holey-bytes
fae75072f4
the markdown gets transpiled on build and built files are then included in the server executable Signed-off-by: Jakub Doka <jakub.doka2@gmail.com>
49 lines
822 B
TOML
49 lines
822 B
TOML
cargo-features = ["profile-rustflags"]
|
|
|
|
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"bytecode",
|
|
"vm",
|
|
"xrt",
|
|
"xtask",
|
|
"lang",
|
|
"depell",
|
|
"depell/wasm-fmt",
|
|
"depell/wasm-hbc",
|
|
"depell/wasm-rt",
|
|
]
|
|
|
|
[workspace.dependencies]
|
|
hbbytecode = { path = "bytecode", default-features = false }
|
|
hbvm = { path = "vm", default-features = false }
|
|
hblang = { path = "lang", default-features = false }
|
|
|
|
[profile.release]
|
|
lto = true
|
|
#debug = true
|
|
strip = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[profile.small]
|
|
rustflags = ["-Zfmt-debug=none", "-Zlocation-detail=none"]
|
|
inherits = "release"
|
|
opt-level = "z"
|
|
strip = "debuginfo"
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
|
|
[profile.small-dev]
|
|
inherits = "dev"
|
|
opt-level = "z"
|
|
strip = "debuginfo"
|
|
panic = "abort"
|
|
|
|
[profile.fuzz]
|
|
inherits = "dev"
|
|
debug = true
|
|
opt-level = 3
|
|
panic = "abort"
|