Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 829a51c

Browse files
committed
Shorten __alloc symbol names a bit
1 parent e5b2b1b commit 829a51c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ fn data_id_for_alloc_id<B: Backend>(
274274
) -> DataId {
275275
module
276276
.declare_data(
277-
&format!("__alloc_{}", alloc_id.0),
277+
&format!("__alloc_{:x}", alloc_id.0),
278278
Linkage::Local,
279279
mutability == rustc_hir::Mutability::Mut,
280280
false,

0 commit comments

Comments
 (0)