Still looking for a good way to do this. I'm surprised nobody else is interested in conditional compilation for debug and release builds.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Should I use --cfg=debug or a Cargo feature like "internal-debug"? | 1 | 513 | December 30, 2022 | |
Conditional compilation ("if defs") | 9 | 1200 | September 8, 2020 | |
Disambiguate the conditional compilation based on `#[cfg(...)]` macro | 7 | 185 | December 21, 2024 | |
Conditionally Define Crate-Level Attribute If Not Release | 4 | 553 | March 23, 2021 | |
Conditional compilation | 5 | 536 | December 23, 2020 |