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.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index c7d3ff6b..006aca62 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -14,6 +14,7 @@ mod front {
mod middle {
mod fold;
+ mod metadata;
mod resolve;
mod trans;
mod ty;
@@ -40,6 +41,7 @@ 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;