Tweak FAQ size profile suggestions

If we want the smallest binary, we probably want codegen-units = 1, and disable incremental builds.
This commit is contained in:
James Munns 2023-12-07 14:27:09 +01:00 committed by GitHub
parent 83138ce68e
commit 8fa5a6b282
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,8 @@ The first step to managing your binary size is to set up your link:https://doc.r
debug = false
lto = true
opt-level = "s"
incremental = true
incremental = false
codegen-units = 1
----
All of these flags are elaborated on in the Rust Book page linked above.