aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-04-07 02:53:25 +0200
committerGraydon Hoare <[email protected]>2011-04-07 14:19:16 -0700
commitac3026412b9beb8f70af809c1ff58b9118c1e79c (patch)
tree294a0760c1dea3281c272f75cc371f1a07200d5f /src/comp/rustc.rc
parentrustc: Remove useless call to type_of() in trans_rec() (diff)
downloadrust-ac3026412b9beb8f70af809c1ff58b9118c1e79c.tar.xz
rust-ac3026412b9beb8f70af809c1ff58b9118c1e79c.zip
Revise EBML reader API
New one is less stateful, easier to work with.
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 e34d1fae..e9d0b788 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -44,7 +44,9 @@ mod util {
}
auth driver.rustc.main = impure;
+auth front.creader.parse_ty_str = impure;
auth front.creader.load_crate = unsafe;
+auth front.creader.get_metadata_section = unsafe;
auth front.creader.lookup_def = impure;
auth front.creader.get_type = impure;
auth front.creader.get_symbol = impure;