Update references to -Z symbol-mangling-version
to use -C
Replace `-Z symbol-mangling-version=v0` with `-C symbol-mangling-version=v0`. Replace `-Z symbol-mangling-version=legacy` with `-Z unstable-options -C symbol-mangling-version=legacy`.
This commit is contained in:
parent
bbf4b6699e
commit
ff94b3b12b
25 changed files with 34 additions and 34 deletions
|
@ -237,7 +237,7 @@ fn compute_symbol_name<'tcx>(
|
|||
|
||||
// Pick the crate responsible for the symbol mangling version, which has to:
|
||||
// 1. be stable for each instance, whether it's being defined or imported
|
||||
// 2. obey each crate's own `-Z symbol-mangling-version`, as much as possible
|
||||
// 2. obey each crate's own `-C symbol-mangling-version`, as much as possible
|
||||
// We solve these as follows:
|
||||
// 1. because symbol names depend on both `def_id` and `instantiating_crate`,
|
||||
// both their `CrateNum`s are stable for any given instance, so we can pick
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue