Created
June 17, 2023 03:16
-
-
Save Aisuko/7e647215cf8a1752047d9d952f793ed6 to your computer and use it in GitHub Desktop.
Cargo file for cargo build --release command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The configuration of `cargo build --release` | |
[profile. Release] | |
debug = 1 # Whether debug information is included in the compiled code. 1 means that debug information is included, 0 means not. | |
# Whether incremental compilation is used. | |
# The incremental compilation can speed up compilation times by reusing previously compiled code, | |
# but it can also increase the size of the compiled code. | |
incremental = true | |
# Whether link-time optimization is used. Link-time optimization can improve the performance of the compiled code, | |
# but it also increases the size of he compiled code | |
lto = "off" | |
# how panics are handled in the compiled code. The possible values are `unwind`, `abort` and `panic=...` | |
# unwind: the panics are handled using stack unwinding | |
# abort: the programs will immediately terminate when a panic occurs | |
# panic=... means that a custom panic handler will be used | |
panic= "abort" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment