aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-04-01 14:18:46 -0700
committerPatrick Walton <[email protected]>2011-04-01 14:18:46 -0700
commit3a8b0be1cbb7b6386e82e329a80c7d09bcb75617 (patch)
treec184e34e5de57ff6a94fed591ad93609dbf7720e /src
parentrustc: Don't try to write symbols into the metadata for nullary tags. Puts ou... (diff)
downloadrust-3a8b0be1cbb7b6386e82e329a80c7d09bcb75617.tar.xz
rust-3a8b0be1cbb7b6386e82e329a80c7d09bcb75617.zip
rustc: Write symbols for native items into the crate metadata
Diffstat (limited to 'src')
-rw-r--r--src/comp/middle/metadata.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/middle/metadata.rs b/src/comp/middle/metadata.rs
index 08a8f0ee..6ec670d4 100644
--- a/src/comp/middle/metadata.rs
+++ b/src/comp/middle/metadata.rs
@@ -463,6 +463,7 @@ fn encode_info_for_native_item(@trans.crate_ctxt cx, &ebml.writer ebml_w,
encode_kind(ebml_w, 'F' as u8);
encode_type_params(ebml_w, tps);
encode_type(ebml_w, trans.node_ann_type(cx, ann));
+ encode_symbol(cx, ebml_w, did);
}
}
ebml.end_tag(ebml_w);