2022-08-08 20:34:16 +00:00
|
|
|
[workspace]
|
2024-02-27 12:28:43 +00:00
|
|
|
resolver = "2"
|
2022-08-08 20:34:16 +00:00
|
|
|
members = [
|
2024-08-13 14:51:27 +00:00
|
|
|
"osdk/test-kernel",
|
2024-06-19 08:18:39 +00:00
|
|
|
"ostd",
|
|
|
|
|
"ostd/libs/align_ext",
|
2024-06-20 06:16:04 +00:00
|
|
|
"ostd/libs/ostd-macros",
|
2024-06-19 08:18:39 +00:00
|
|
|
"ostd/libs/id-alloc",
|
|
|
|
|
"ostd/libs/linux-bzimage/builder",
|
|
|
|
|
"ostd/libs/linux-bzimage/boot-params",
|
|
|
|
|
"ostd/libs/linux-bzimage/setup",
|
2024-07-01 08:00:09 +00:00
|
|
|
"ostd/libs/ostd-test",
|
2024-02-27 08:40:16 +00:00
|
|
|
"kernel",
|
|
|
|
|
"kernel/comps/block",
|
|
|
|
|
"kernel/comps/console",
|
|
|
|
|
"kernel/comps/framebuffer",
|
|
|
|
|
"kernel/comps/input",
|
|
|
|
|
"kernel/comps/network",
|
2024-10-17 09:41:24 +00:00
|
|
|
"kernel/comps/softirq",
|
2024-02-27 08:40:16 +00:00
|
|
|
"kernel/comps/time",
|
|
|
|
|
"kernel/comps/virtio",
|
|
|
|
|
"kernel/libs/cpio-decoder",
|
|
|
|
|
"kernel/libs/int-to-c-enum",
|
|
|
|
|
"kernel/libs/int-to-c-enum/derive",
|
|
|
|
|
"kernel/libs/aster-rights",
|
|
|
|
|
"kernel/libs/aster-rights-proc",
|
|
|
|
|
"kernel/libs/aster-util",
|
2024-09-06 10:49:37 +00:00
|
|
|
"kernel/libs/aster-bigtcp",
|
2024-02-27 08:40:16 +00:00
|
|
|
"kernel/libs/keyable-arc",
|
|
|
|
|
"kernel/libs/typeflags",
|
|
|
|
|
"kernel/libs/typeflags-util",
|
2024-09-24 08:30:09 +00:00
|
|
|
"kernel/libs/atomic-integer-wrapper",
|
2023-11-04 09:01:12 +00:00
|
|
|
]
|
|
|
|
|
exclude = [
|
2024-02-27 08:40:16 +00:00
|
|
|
"kernel/libs/comp-sys/cargo-component",
|
|
|
|
|
"kernel/libs/comp-sys/component",
|
|
|
|
|
"kernel/libs/comp-sys/component-macro",
|
|
|
|
|
"kernel/libs/comp-sys/controlled",
|
2024-02-27 16:44:55 +00:00
|
|
|
"osdk",
|
|
|
|
|
"target/osdk/base",
|
2023-11-04 09:01:12 +00:00
|
|
|
]
|
2024-05-06 09:36:31 +00:00
|
|
|
|
|
|
|
|
# Cargo only looks at the profile settings
|
|
|
|
|
# in the Cargo.toml manifest at the root of the workspace
|
|
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
|
lto = "thin"
|
|
|
|
|
|
|
|
|
|
# Release profile configuration with Link Time Optimization (LTO) enabled.
|
|
|
|
|
#
|
|
|
|
|
# This profile is optimized for maximum runtime performance,
|
|
|
|
|
# (achieving a 2% reduction in latency for the getpid system call).
|
|
|
|
|
# However, enabling LTO significantly increases compilation times,
|
|
|
|
|
# approximately doubling them compared to when LTO is not enabled.
|
|
|
|
|
[profile.release-lto]
|
|
|
|
|
inherits = "release"
|
|
|
|
|
lto = true
|
|
|
|
|
# lto can only be enabled when panic strategy is abort
|
|
|
|
|
panic = "abort"
|
|
|
|
|
# set codegen-units as the smallest number
|
|
|
|
|
codegen-units = 1
|