-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
53 lines (48 loc) · 1.59 KB
/
Copy pathCargo.toml
File metadata and controls
53 lines (48 loc) · 1.59 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[workspace]
members = [
"crates/elderheim",
"crates/elderheim-core",
"crates/elderheim-ir",
"crates/elderheim-runtime",
"crates/elderheim-target",
"crates/elderheim-backend-x86",
"crates/elderheim-format-elf",
"crates/languages/elderheim-dartmouth-basic",
"tools/xtask",
]
default-members = ["crates/elderheim"]
resolver = "3"
[workspace.package]
version = "0.13.0"
edition = "2024"
rust-version = "1.97.0"
license = "EUPL-1.2"
homepage = "https://github.com/valkyoth/elderheim"
repository = "https://github.com/valkyoth/elderheim"
readme = "README.md"
[workspace.lints.rust]
unsafe_code = "forbid"
unsafe_op_in_unsafe_fn = "forbid"
unused_must_use = "deny"
[workspace.lints.clippy]
panic = "forbid"
unwrap_used = "forbid"
expect_used = "forbid"
undocumented_unsafe_blocks = "forbid"
indexing_slicing = "forbid"
arithmetic_side_effects = "forbid"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
[workspace.dependencies]
elderheim-backend-x86 = { path = "crates/elderheim-backend-x86", version = "0.13.0" }
elderheim-core = { path = "crates/elderheim-core", version = "0.13.0" }
elderheim-dartmouth-basic = { path = "crates/languages/elderheim-dartmouth-basic", version = "0.13.0" }
elderheim-format-elf = { path = "crates/elderheim-format-elf", version = "0.13.0" }
elderheim-ir = { path = "crates/elderheim-ir", version = "0.13.0" }
elderheim-runtime = { path = "crates/elderheim-runtime", version = "0.13.0" }
elderheim-target = { path = "crates/elderheim-target", version = "0.13.0" }
[profile.release]
overflow-checks = true
panic = "abort"
lto = true
codegen-units = 1