mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 22:43:42 +00:00
Shorten __alloc symbol names a bit
This commit is contained in:
parent
e5b2b1ba81
commit
829a51cae3
@ -274,7 +274,7 @@ fn data_id_for_alloc_id<B: Backend>(
|
|||||||
) -> DataId {
|
) -> DataId {
|
||||||
module
|
module
|
||||||
.declare_data(
|
.declare_data(
|
||||||
&format!("__alloc_{}", alloc_id.0),
|
&format!("__alloc_{:x}", alloc_id.0),
|
||||||
Linkage::Local,
|
Linkage::Local,
|
||||||
mutability == rustc_hir::Mutability::Mut,
|
mutability == rustc_hir::Mutability::Mut,
|
||||||
false,
|
false,
|
||||||
|
Loading…
Reference in New Issue
Block a user