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:
parent
83138ce68e
commit
8fa5a6b282
@ -47,7 +47,8 @@ The first step to managing your binary size is to set up your link:https://doc.r
|
|||||||
debug = false
|
debug = false
|
||||||
lto = true
|
lto = true
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
incremental = true
|
incremental = false
|
||||||
|
codegen-units = 1
|
||||||
----
|
----
|
||||||
|
|
||||||
All of these flags are elaborated on in the Rust Book page linked above.
|
All of these flags are elaborated on in the Rust Book page linked above.
|
||||||
|
Loading…
Reference in New Issue
Block a user