use CFG when building on Windows

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-10 20:32:00 -04:00 committed by June
parent ccd149245f
commit c2317d5e83

View file

@ -377,6 +377,7 @@ opt-level = 3
overflow-checks = true overflow-checks = true
strip = "symbols" strip = "symbols"
panic = "abort" panic = "abort"
control-flow-guard = true # Windows only
debug = 0 debug = 0
# high performance release profile which uses fat LTO across all crates, 1 codegen unit, max opt-level, and optimises across all crates # high performance release profile which uses fat LTO across all crates, 1 codegen unit, max opt-level, and optimises across all crates