rust/src/comp/rustc.rc

45 lines
754 B
Plaintext
Raw Normal View History

2010-06-23 23:03:09 -05:00
// -*- rust -*-
use std;
mod fe {
2010-08-12 12:27:50 -05:00
mod ast;
2010-06-23 23:03:09 -05:00
mod lexer;
mod parser;
}
mod driver {
mod rustc;
}
auth driver = unsafe;
2010-07-12 19:47:40 -05:00
mod lib {
2010-08-18 13:34:22 -05:00
alt (target_os) {
case ("win32") {
let (llvm_lib = "LLVM-2.8svn.dll") {
mod llvm;
}
}
case ("macos") {
let (llvm_lib = "libLLVM-2.8svn.dylib") {
mod llvm;
}
}
else {
let (llvm_lib = "libLLVM-2.8svn.so") {
mod llvm;
}
}
}
2010-07-12 19:47:40 -05:00
}
2010-06-23 23:03:09 -05:00
// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
2010-08-18 13:34:22 -05:00
// c-basic-offset: 4
2010-06-23 23:03:09 -05:00
// buffer-file-coding-system: utf-8-unix
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
// End: