Skip to content

Commit

Permalink
Bug 1444174 - point people away from Cargo.toml for opt-level setting…
Browse files Browse the repository at this point in the history
…s of Rust code; r=nalexander

For people who don't know how our Rust opt-level setup works--or for
people who did know and repeatedly forget--it would be good to have some
documentation in Cargo.toml pointing at the correct place.
  • Loading branch information
froydnj committed Mar 9, 2018
1 parent 1f26261 commit 84c5746
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Expand Up @@ -39,7 +39,9 @@ exclude = [
"media/mp4parse-rust/mp4parse_fallible",
]

# Explicitly specify what our profiles use.
# Explicitly specify what our profiles use. The opt-level setting here is
# a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
# opt-level setting will be as a result of various other configure flags.
[profile.dev]
opt-level = 1
rpath = false
Expand Down

0 comments on commit 84c5746

Please sign in to comment.