forked from confidential-containers/td-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (35 loc) · 903 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
[workspace]
resolver = "2"
default-members = ["td-shim", "td-payload"]
members = [
"cc-measurement",
"devtools/td-layout-config",
"devtools/td-benchmark",
"devtools/test-runner-server",
"devtools/test-runner-client",
"td-exception",
"td-layout",
"td-logger",
"td-paging",
"td-payload",
"td-shim",
"td-shim-tools",
"tdx-tdcall",
"tests/test-td-exception",
"tests/test-td-paging",
"tests/test-td-payload",
"xtask",
"td-shim-interface",
]
# the profile used for debug build of `td-shim` and `td-payload`
[profile.dev-opt]
inherits = "dev"
panic = "abort" # disable stack unwinding on panic
opt-level = "z"
lto = true
# the profile used for `cargo build --release`
[profile.release]
panic = "abort" # disable stack unwinding on panic
lto = true # Link-time optimization
[patch.crates-io]
ring = { path = "library/ring" }