-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
36 lines (33 loc) · 1.34 KB
/
Copy pathCargo.toml
File metadata and controls
36 lines (33 loc) · 1.34 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
[workspace]
resolver = "2"
members = [
"core/audiohub-airplay",
"core/audiohub-core",
"core/audiohub-dsp",
"core/audiohub-security",
"core/audiohub-net",
"core/audiohub-ipc",
"core/audiohub-cli",
"core/audiohubd",
"tools/audiohub-vad-helper",
]
exclude = ["test", "vendor/cpal-0.16.0"]
[patch.crates-io]
# Keep the pinned CPAL release while carrying the minimal Windows same-stream
# output timing metadata required by AudioTx. Other hosts retain CPAL's None.
cpal = { path = "vendor/cpal-0.16.0" }
[profile.release]
opt-level = 3
[profile.dev]
# macOS defaults this to "unpacked": each codegen unit's .o stays in
# target/debug/deps for the binary that references it to point at, and nothing
# ever reclaims the ones a recompile orphans. By 2026-08-10 that was 758k files
# and 12G. "packed" hands the debug info to dsymutil instead, so a rebuild
# rewrites one .dSYM in place rather than shedding another generation of .o.
# Debug info itself is unchanged — the .dSYM still carries every local variable.
#
# `rustc --print split-debuginfo --target x86_64-pc-windows-gnu` offers only
# "off", so this value is meaningless there. Cargo ignores it for that target
# rather than failing: cross-building audiohub-core to windows-gnu with this
# profile in place still succeeds. Nothing to special-case.
split-debuginfo = "packed"