aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-08 10:45:34 -0700
committerGraydon Hoare <[email protected]>2010-07-08 10:45:34 -0700
commit3f354b24dca13db40a4d5028cafc0f3093b9c0a0 (patch)
tree290ed931dec3ef99dc347d1490839ec5f9c61765 /src
parentBuild fix from jmuizelaar (on ocamlc versions that notice this bug; drat, not... (diff)
downloadrust-3f354b24dca13db40a4d5028cafc0f3093b9c0a0.tar.xz
rust-3f354b24dca13db40a4d5028cafc0f3093b9c0a0.zip
Clean out rustc so it doesn't give the false impression of doing anything yet.
Diffstat (limited to 'src')
-rw-r--r--src/comp/driver/rustc.rs12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 35ebba1f..077bf70d 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -1,12 +1,8 @@
// -*- rust -*-
fn main(vec[str] args) -> () {
- let int i = 0;
- for (str filename in args) {
- if (i > 0) {
- auto br = std._io.mk_buf_reader(filename);
- log "opened file: " + filename;
- }
- i += 1;
- }
+ log "This is the rust 'self-hosted' compiler.";
+ log "The one written in rust.";
+ log "It does nothing yet, it's a placeholder.";
+ log "You want rustboot, the compiler next door.";
}