Symbol name mangling is used by rustc
to encode a unique name for symbols that are used during code generation. The v0 Symbol Format contains Disambiguator(v0 Symbol Format - The rustc book), It starts with the character s and is followed by a base-62-number.
For example, the following symbol name contains a string of base-62 code: Cs15kBYyAo9fc_
What are the factors that affect this string of base62 codes? In other words, what would cause the base62 string to change if the Rust code didn't change? A few of the factors I've found so far are:
1、Change crate name in Cargo.toml causes the base62 encoding to change.
2、Introducing a new dependency in Cargo.toml causes the base62 encoding to change.
3、Change the version of the rustc compiler causes the base62 encoding to change.
Are there any other factors?