Absent any deep overhauls to syntax or constant-handling, hack in the ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.
This commit is contained in:
parent
176899a970
commit
7e62aa6801
5 changed files with 61 additions and 21 deletions
|
|
@ -14,7 +14,23 @@ mod driver {
|
|||
}
|
||||
|
||||
mod lib {
|
||||
mod llvm;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Local Variables:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue