about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-09-23 09:38:49 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-09-23 09:53:41 +0200
commit829a51cae31589f0f995c4d143a5057a6257a4ed (patch)
tree9e706db71d844ba8f1bf939937f6afc888d89c2e
parente5b2b1ba8101bc9d5da6fb05e669fc8f9d784368 (diff)
downloadrust-829a51cae31589f0f995c4d143a5057a6257a4ed.tar.gz
rust-829a51cae31589f0f995c4d143a5057a6257a4ed.zip
Shorten __alloc symbol names a bit
-rw-r--r--src/constant.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/constant.rs b/src/constant.rs
index d1248110d06..458ace9675d 100644
--- a/src/constant.rs
+++ b/src/constant.rs
@@ -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,