rustc: Append the crate version to symbols
This commit is contained in:
parent
19b7a7d803
commit
d9070b4751
1 changed files with 2 additions and 4 deletions
|
@ -485,10 +485,8 @@ fn mangle(ss: path) -> str {
|
|||
n
|
||||
}
|
||||
|
||||
fn exported_name(path: path, hash: str, _vers: str) -> str {
|
||||
// FIXME: versioning isn't working yet
|
||||
ret mangle(path + [path_name(hash)]); // + "@" + vers;
|
||||
|
||||
fn exported_name(path: path, hash: str, vers: str) -> str {
|
||||
ret mangle(path + [path_name(hash)] + [path_name(vers)]);
|
||||
}
|
||||
|
||||
fn mangle_exported_name(ccx: @crate_ctxt, path: path, t: ty::t) -> str {
|
||||
|
|
Loading…
Reference in a new issue