forked from chipsalliance/caliptra-sw
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
88 lines (82 loc) · 1.85 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Licensed under the Apache-2.0 license
[workspace]
# Use dependency resolver v2 to allow [dev-dependencies] to have different
# features from [dependencies]. See
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2"
exclude = [
# Uses a custom .cargo/config
"sw-emulator/example",
]
members = [
"builder",
"ci-tools/file-header-fix",
"ci-tools/size-history",
"common",
"cpu",
"drivers",
"drivers/test-fw",
"fmc",
"fmc/test-fw/test-rt",
"hw-latest/verilated",
"hw-model",
"hw-model/test-fw",
"hw-model/types",
"hw-model/c-binding",
"registers",
"registers/bin/generator",
"runtime",
"runtime/test-fw",
"sw-emulator/app",
"sw-emulator/compliance-test",
"sw-emulator/lib/cpu",
"sw-emulator/lib/crypto",
"sw-emulator/lib/derive",
"sw-emulator/lib/periph",
"sw-emulator/lib/types",
"systemrdl",
"ureg/lib/schema",
"ureg/lib/codegen",
"ureg/lib/systemrdl",
"x509",
"kat",
"image/types",
"image/gen",
"image/serde",
"image/verify",
"image/app",
"image/openssl",
"image/elf",
"image/fake-keys",
"lms-types",
"rom/dev",
"rom/dev/tools/test-fmc",
"rom/dev/tools/test-rt",
"test",
"test-harness",
"test-harness/types",
]
[profile.firmware]
inherits = "release"
panic = "abort"
lto = true
opt-level = "s"
codegen-units = 1
# Always optimize the emulator during tests, as it is a major bottleneck for
# test speed.
[profile.test.package.caliptra-emu-bus]
opt-level = 3
[profile.test.package.caliptra-emu-cpu]
opt-level = 3
[profile.test.package.caliptra-emu-crypto]
opt-level = 3
[profile.test.package.caliptra-emu-periph]
opt-level = 3
[profile.test.package.caliptra-emu-types]
opt-level = 3
[profile.test.package.caliptra-hw-model]
opt-level = 3
[profile.test.package.tock-registers]
opt-level = 3
[profile.test.package.caliptra-drivers]
opt-level = 3