add release profile
This commit is contained in:
@@ -17,6 +17,16 @@ incremental = true
|
|||||||
opt-level = 2
|
opt-level = 2
|
||||||
|
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
||||||
|
lto = false
|
||||||
|
strip = true
|
||||||
|
debug = false
|
||||||
|
overflow-checks = false
|
||||||
|
panic = "abort"
|
||||||
|
incremental = true
|
||||||
|
opt-level = "z"
|
||||||
|
|
||||||
[package.metadata.cargo_runner]
|
[package.metadata.cargo_runner]
|
||||||
# The string `$TARGET_FILE` will be replaced with the path from cargo.
|
# The string `$TARGET_FILE` will be replaced with the path from cargo.
|
||||||
command = [
|
command = [
|
||||||
|
|||||||
Reference in New Issue
Block a user