-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
40 lines (32 loc) · 913 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
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "snowc"
version = "0.0.0"
edition = "2021"
[dependencies]
snowc-parse = { path="./crates/snowc-parse" }
# snowc-type-checker = { path="./crates/snowc-type-checker" }
snowc-code-gen = { path="./crates/snowc-code-gen" }
snowc-repl = { path = "./crates/snowc-repl" }
snowc-vm = { path = "./crates/snowc-vm" }
snowc-tree-walker = { path = "./crates/snowc-tree-walker" }
clap = { version = "4.0.29", features = ["cargo"] }
[workspace]
members = [
"./crates/*",
]
[ignore]
default-members = [
"crates/snowc-type-checker",
]
[[bin]]
name = "snowc"
path = "src/main.rs"
[lib]
name = "snowc"
path = "src/lib.rs"
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true # Enable Link Time Optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations.
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*