rust/src/comp/rustc.rc
Rafael Ávila de Espíndola 28d1626221 Remove the old library names. These were unused since rustboot.
Right now rustc hardcodes -lrustllvm. The idea is to instead remember all the native
modules used and convert them to -l directives to the linker. In the case of a
library that is installed in an unusual location, Graydon suggested using metadata:

native module foo = "bar" {
}
2011-06-20 18:09:24 -04:00

93 lines
1.4 KiB
Rust

// -*- rust -*-
#[name = "rustc"];
#[vers = "0.1"];
#[uuid = "0ce89b41-2f92-459e-bbc1-8f5fe32f16cf"];
#[url = "http://rust-lang.org/src/rustc"];
#[desc = "The Rust compiler"];
#[license = "BSD"];
use std (name = "std",
vers = "0.1",
url = "http://rust-lang.org/src/std");
mod middle {
mod trans;
mod ty;
mod walk;
mod visit;
mod metadata;
mod ast_map;
mod resolve;
mod typeck;
mod alias;
mod tstate {
mod ck;
mod annotate;
mod aux = "auxiliary.rs";
mod bitvectors;
mod collect_locals;
mod pre_post_conditions;
mod states;
mod ann;
}
}
mod pretty {
mod pprust;
mod pp;
mod ppaux;
}
mod front {
mod ast;
mod creader;
mod ext;
mod extfmt;
mod extenv;
mod codemap;
mod lexer;
mod parser;
mod token;
mod eval;
}
mod back {
mod link;
mod abi;
mod upcall;
mod x86;
}
mod driver {
mod rustc;
mod session;
}
mod util {
mod common;
mod data;
}
auth front::creader::load_crate = unsafe;
auth front::creader::get_metadata_section = unsafe;
auth middle::metadata = unsafe;
auth middle::trans = unsafe;
auth lib::llvm = unsafe;
mod lib {
mod llvm;
}
// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
// End: