aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-09-22 15:21:06 -0700
committerGraydon Hoare <[email protected]>2010-09-22 15:27:40 -0700
commit738fe078a43c3f184d0e147f89042474a61fa779 (patch)
treeea2ae75e06e951762cfec13f560a098076f25a21 /src/comp/rustc.rc
parentAdd some basic string functions: index, rindes, find, substr, split, concat, ... (diff)
downloadrust-738fe078a43c3f184d0e147f89042474a61fa779.tar.xz
rust-738fe078a43c3f184d0e147f89042474a61fa779.zip
Move llvm-using code in rustc to trans module.
Diffstat (limited to 'src/comp/rustc.rc')
-rw-r--r--src/comp/rustc.rc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/comp/rustc.rc b/src/comp/rustc.rc
index 5f5bc893..c4e7c7e6 100644
--- a/src/comp/rustc.rc
+++ b/src/comp/rustc.rc
@@ -10,6 +10,10 @@ mod fe {
mod token;
}
+mod me {
+ mod trans;
+}
+
mod driver {
mod rustc;
mod session;
@@ -20,7 +24,8 @@ mod util {
}
auth driver.rustc.main = state;
-auth driver.rustc.write_module = unsafe;
+auth me.trans = unsafe;
+
mod lib {
alt (target_os) {