aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorPatrick Walton <[email protected]>2011-03-15 18:05:29 -0700
committerPatrick Walton <[email protected]>2011-03-15 18:05:29 -0700
commit6fdb81fa17b3c7147a69edc5217c9f93ff485410 (patch)
tree8597afa912813b40e1ce54436309c0e8df99bb30 /src/comp/rustc.rc
parentrustc: Add an annotation for the crate definition to view_item_use (diff)
downloadrust-6fdb81fa17b3c7147a69edc5217c9f93ff485410.tar.xz
rust-6fdb81fa17b3c7147a69edc5217c9f93ff485410.zip
rustc: Open "use"d crates with the LLVM object file reader
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 7f1a7a03..4bf1161d 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -42,6 +42,7 @@ mod util {
}
auth driver.rustc.main = impure;
+auth front.creader.load_crate = unsafe;
auth middle.metadata = unsafe;
auth middle.trans = unsafe;
auth middle.trans.copy_args_to_allocas = impure;