Enable -W semicolon_in_expressions_from_macros
in bootstrap
Now that stdarch has been updated, we can do this without breaking the build.
This commit is contained in:
parent
881c1ac408
commit
020d83d9f5
2 changed files with 2 additions and 7 deletions
|
@ -900,8 +900,8 @@ class RustBuild(object):
|
|||
target_linker = self.get_toml("linker", build_section)
|
||||
if target_linker is not None:
|
||||
env["RUSTFLAGS"] += " -C linker=" + target_linker
|
||||
# cfg(bootstrap): Add `-Wsemicolon_in_expressions_from_macros` after the next beta bump
|
||||
env["RUSTFLAGS"] += " -Wrust_2018_idioms -Wunused_lifetimes"
|
||||
env["RUSTFLAGS"] += " -Wsemicolon_in_expressions_from_macros"
|
||||
if self.get_toml("deny-warnings", "rust") != "false":
|
||||
env["RUSTFLAGS"] += " -Dwarnings"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue