-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (41 loc) · 918 Bytes
/
Copy pathCargo.toml
File metadata and controls
46 lines (41 loc) · 918 Bytes
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
[workspace]
resolver = "2"
members = [
"kernel",
"userland/trustos-syscall",
"userland/init",
"userland/hello-rust",
"userland/shell",
"userland/fs",
"userland/network",
"userland/jarvis",
"userland/compositor",
]
exclude = [
"debugonly",
"sdk",
"sdk/trustos-rt",
"sdk/examples/hello",
"sdk/examples/syscall-test",
"jarvis-bench",
]
[workspace.package]
version = "0.2.0"
edition = "2021"
authors = ["Nated0ge <nathan@trustos.dev>"]
license = "MIT"
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"
lto = true
opt-level = "s"
# Fast iteration profile for hardware debug (no LTO, ~10-15s builds)
# Usage: cargo build --profile release-dev -p trustos_kernel
[profile.release-dev]
inherits = "release"
lto = "thin"
codegen-units = 16
incremental = true
[patch.crates-io]
mbedtls-platform-support = { path = "crates/mbedtls-platform-support" }