Skip to content

Commit

Permalink
[rust] update to stable syntax for mangling version
Browse files Browse the repository at this point in the history
The unstable syntax gives a warning on the current toolchain. The new
syntax is stable as of rust-lang/rust#90128

Change-Id: If2ff4bdbae68256b8e13e1d2c54c6346aaac99f2
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/635923
Fuchsia-Auto-Submit: Dan Johnson <[email protected]>
Reviewed-by: Tyler Mandry <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
  • Loading branch information
ComputerDruid authored and Commit Bot committed Jan 28, 2022
1 parent 3d6e826 commit 0b7171b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/config/rust/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ config("panic_abort") {

config("v0_symbol_mangling") {
if (rust_v0_symbol_mangling) {
rustflags = [ "-Zsymbol-mangling-version=v0" ]
rustflags = [ "-Csymbol-mangling-version=v0" ]
}
}

Expand Down

0 comments on commit 0b7171b

Please sign in to comment.