aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index e4833409..006aca62 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -8,13 +8,13 @@ mod front {
mod extfmt;
mod lexer;
mod parser;
- mod pretty;
mod token;
mod eval;
}
mod middle {
mod fold;
+ mod metadata;
mod resolve;
mod trans;
mod ty;
@@ -41,10 +41,12 @@ mod util {
}
auth driver.rustc.main = impure;
+auth middle.metadata = unsafe;
auth middle.trans = unsafe;
auth middle.trans.copy_args_to_allocas = impure;
auth middle.trans.trans_block = impure;
auth lib.llvm = unsafe;
+auth pretty.pprust = impure;
mod lib {
alt (target_os) {