mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-11 15:23:05 +00:00
Remove cwriter.rs
This file isn't actually in the crate
This commit is contained in:
parent
f8c6d282f8
commit
9334fb4459
@ -1,28 +0,0 @@
|
||||
// Writing metadata into crate files
|
||||
|
||||
import std::str;
|
||||
import middle::trans;
|
||||
import syntax::ast::crate;
|
||||
import back::x86;
|
||||
import lib::llvm::llvm;
|
||||
import lib::llvm::llvm::ValueRef;
|
||||
import lib::llvm::False;
|
||||
|
||||
export write_metadata;
|
||||
|
||||
// Returns a Plain Old LLVM String:
|
||||
fn C_postr(&str s) -> ValueRef {
|
||||
ret llvm::LLVMConstString(str::buf(s), str::byte_len(s), False);
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Local Variables:
|
||||
// mode: rust
|
||||
// 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:
|
||||
//
|
Loading…
Reference in New Issue
Block a user