mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 14:53:03 +00:00
Update faq.adoc
Don't suggest people disable debuginfo, and explain why
This commit is contained in:
parent
c1ba008be4
commit
40e9fc36dc
@ -44,11 +44,12 @@ The first step to managing your binary size is to set up your link:https://doc.r
|
|||||||
[source,toml]
|
[source,toml]
|
||||||
----
|
----
|
||||||
[profile.release]
|
[profile.release]
|
||||||
debug = false
|
|
||||||
lto = true
|
lto = true
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
incremental = false
|
incremental = false
|
||||||
codegen-units = 1
|
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.
|
All of these flags are elaborated on in the Rust Book page linked above.
|
||||||
|
Loading…
Reference in New Issue
Block a user