Skip to content

Commit 3a8b0be

Browse files
committed
rustc: Write symbols for native items into the crate metadata
1 parent a0eb9c8 commit 3a8b0be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/middle/metadata.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,7 @@ fn encode_info_for_native_item(@trans.crate_ctxt cx, &ebml.writer ebml_w,
463463
encode_kind(ebml_w, 'F' as u8);
464464
encode_type_params(ebml_w, tps);
465465
encode_type(ebml_w, trans.node_ann_type(cx, ann));
466+
encode_symbol(cx, ebml_w, did);
466467
}
467468
}
468469
ebml.end_tag(ebml_w);

0 commit comments

Comments
 (0)