aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-28 16:49:26 -0700
committerPatrick Walton <[email protected]>2011-03-28 16:49:26 -0700
commit2809e30d1dfae75b88a7cea87eb287da09455515 (patch)
tree912c6763a644e8125514c7c011ba23bad0568a5a /src/comp/rustc.rc
parentrustc: Populate the item types table with types of items from external crates... (diff)
downloadrust-2809e30d1dfae75b88a7cea87eb287da09455515.tar.xz
rust-2809e30d1dfae75b88a7cea87eb287da09455515.zip
rustc: Parse types in external metadata
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 64da7ad0..f331eba0 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -44,6 +44,8 @@ mod util {
auth driver.rustc.main = impure;
auth front.creader.load_crate = unsafe;
auth front.creader.lookup_def = impure;
+auth front.creader.get_type = impure;
+auth front.creader.impure_no_op = impure;
auth middle.metadata = unsafe;
auth middle.trans = unsafe;
auth middle.trans.copy_args_to_allocas = impure;