Shorten __alloc symbol names a bit

This commit is contained in:
bjorn3 2020-09-23 09:38:49 +02:00
parent e5b2b1ba81
commit 829a51cae3

View file

@ -274,7 +274,7 @@ fn data_id_for_alloc_id<B: Backend>(
) -> DataId {
module
.declare_data(
&format!("__alloc_{}", alloc_id.0),
&format!("__alloc_{:x}", alloc_id.0),
Linkage::Local,
mutability == rustc_hir::Mutability::Mut,
false,