diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-09-23 09:38:49 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-09-23 09:53:41 +0200 |
| commit | 829a51cae31589f0f995c4d143a5057a6257a4ed (patch) | |
| tree | 9e706db71d844ba8f1bf939937f6afc888d89c2e | |
| parent | e5b2b1ba8101bc9d5da6fb05e669fc8f9d784368 (diff) | |
| download | rust-829a51cae31589f0f995c4d143a5057a6257a4ed.tar.gz rust-829a51cae31589f0f995c4d143a5057a6257a4ed.zip | |
Shorten __alloc symbol names a bit
| -rw-r--r-- | src/constant.rs | 2 |
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, |
