Skip to content

Commit c674c2c

Browse files
committed
Hide anonymous allocations from linked artifact
1 parent c1cad03 commit c674c2c

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
@@ -276,7 +276,7 @@ fn data_id_for_alloc_id(
276276
) -> DataId {
277277
module
278278
.declare_data(
279-
&format!("__alloc_{:x}", alloc_id.0),
279+
&format!(".L__alloc_{:x}", alloc_id.0),
280280
Linkage::Local,
281281
mutability == rustc_hir::Mutability::Mut,
282282
false,

0 commit comments

Comments
 (0)