Merge pull request #2473 from embassy-rs/jamesmunns-patch-1

Update faq.adoc
This commit is contained in:
Dario Nieuwenhuis 2024-01-23 11:13:15 +00:00 committed by GitHub
commit fb22b46ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,11 +44,12 @@ The first step to managing your binary size is to set up your link:https://doc.r
[source,toml]
----
[profile.release]
debug = false
lto = true
opt-level = "s"
incremental = false
codegen-units = 1
# note: debug = true is okay - debuginfo isn't flashed to the device!
debug = true
----
All of these flags are elaborated on in the Rust Book page linked above.