forked from laudiacay/barustenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
25 lines (23 loc) · 792 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[workspace]
members = [
"examples",
"barustenberg",
"barustenberg-benches",
"barustenberg-wasm"
]
# See https://doc.rust-lang.org/cargo/reference/profiles.html for more info.
[profile.release.package.barustenberg-wasm]
# Perform optimizations on all codegen units.
codegen-units = 1
# Tell `rustc` to optimize for small code size.
opt-level = "s" # or 'z' to optimize "aggressively" for size
# Strip debug symbols
# "symbols" issue: https://github.com/rust-lang/rust/issues/93294
## strip = "debuginfo"
# Amount of debug information.
# 0/false: no debug info at all; 1: line tables only; 2/true: full debug info
## debug = false
# Speedup build on macOS
# See https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#splitting-debug-information
[profile.dev]
split-debuginfo = "unpacked"