Cargo.toml: codegen-unit = 1

This commit is contained in:
oech3
2025-12-30 02:30:31 +09:00
committed by GitHub
parent 99919dade1
commit bf4f737aee
+1
View File
@@ -107,6 +107,7 @@ required-features = ["uudoc"]
# release profile), the debug info and the stack traces will still be available.
[profile.release]
lto = true
codegen-units = 1
# A release-like profile that is tuned to be fast, even when being fast
# compromises on binary size. This includes aborting on panic.