-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathCargo.toml
28 lines (26 loc) · 853 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
26
27
28
[workspace]
members = [
"som-core",
"som-interpreter-bc",
"som-interpreter-ast",
"som-lexer",
"som-parser-core",
"som-parser-symbols",
"som-parser-text",
]
[profile.release]
# Enable link-time optimization, eliminates more code and inlines across crate boundaries.
# Default: false
lto = "fat"
# codegen-units of 1 gives best optimization, but disables parallel building.
# Default: 16
codegen-units = 1
# The default optimization level is 3 for release mode builds.
# 0 means disable optimization and is the default for debug mode buids.
# (Setting opt-level=1 for debug builds is a good way of speeding them up a bit.)
# "s" means optimize for size, "z" reduces size even more.
opt-level = 3
[profile.release-dbg]
inherits = "release"
# Includes debug information in release builds. Necessary for profiling.
debug = true