get things checking on ia32

This commit is contained in:
Niko Matsakis 2011-10-25 13:13:55 -07:00 committed by Brian Anderson
parent c0e9c42bd2
commit f1bc9307d8
9 changed files with 96 additions and 97 deletions

View file

@ -169,7 +169,7 @@ fn find_library_crate_aux(sess: session::session,
}
fn get_metadata_section(sess: session::session,
filename: str) -> option::t<@[u8]> {
filename: str) -> option::t<@[u8]> unsafe {
let mb = str::as_buf(filename, {|buf|
llvm::LLVMRustCreateMemoryBufferWithContentsOfFile(buf)
});