about summary refs log tree commit diff
path: root/src/comp/metadata/creader.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16allow #[link_args] with #[nolink]. For now, fail if two modules link same ↵Graham Fawcett-14/+19
lib, and second has link_args. I think it should undefined to have multiple modules that link in the same library, but provide different link arguments. Unfortunately we don't track link_args by module -- they are just appended as discovered into the crate store -- but for now, it should be an error to provide link_args on a module that's already been included (with or without link_args).
2011-12-16implement #[nolink]; deprecate #[link_name = ""]; note in stdlib to remove ↵Graham Fawcett-0/+8
empty link_name. Can't remove them from stdlib until the snapshotted compiler supports #[nolink].
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-3/+4
2011-12-12rustc: build versioned library with hash in its nameHaitao Li-1/+1
Also updated build to install versioned libraries and added a few missing actions for `make clean`.
2011-12-12Using filename when finding libraries for linkingHaitao Li-8/+22
Revert #999 commit 16dad84f7b2f173db012dda2e77b08ccb423391f
2011-11-21rustc: Remove abi from ast::native_modHaitao Li-4/+7
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+6
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-10Cleanup unused importsHaitao Li-3/+1
2011-11-09rustc: Rename native_abi_c_stack_cdecl to native_abi_cdeclBrian Anderson-1/+1
2011-11-09rustc: Rename native_abi_c_stack_stdcall to native_abi_stdcallBrian Anderson-1/+1
2011-11-08Remove native "cdecl" ABIBrian Anderson-2/+1
2011-11-07Remove native "rust" ABIBrian Anderson-1/+1
2011-11-07llvm::mk_object_file should really return an option, since the underlying ↵Joshua Wise-1/+4
LLVM function can fail. Fixes a crash on OS X when rust has bad dylibs within eyeshot.
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-0/+1
Remove implicit copying hack. Closes #1118
2011-11-02get things checking on ia32Niko Matsakis-1/+1
2011-11-02start to isolate target strings so that they can be configured forNiko Matsakis-11/+15
x64 or other targets
2011-10-31rustc: Find crates by matching the name metadataHaitao Li-22/+9
2011-10-29Add more logging to crate resolutionBrian Anderson-1/+12
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-19/+17
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12add unsafe tags into various points in the translation chainsNiko Matsakis-16/+18
and so forth
2011-10-04Use util::filesearch to locate intrinsics.bc and main.oBrian Anderson-0/+1
2011-10-04Move the library search into util::filesearchBrian Anderson-25/+17
2011-10-04Fix some comment driftBrian Anderson-2/+2
2011-10-04Remove some redundancy in metadata::creaderBrian Anderson-9/+8
2011-10-04Encapsulate current sysroot and lib path handling into util::filesearchBrian Anderson-2/+2
2011-10-03rustc: Implement C stack stdcallPatrick Walton-1/+2
2011-09-30rustc: Track link_args attributes on C stack cdecl natives as wellPatrick Walton-1/+2
2011-09-12Factor imports mindlessly.Graydon Hoare-15/+5
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-4/+3
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-17/+17
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-63/+42
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-9/+9
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-5/+5
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-17/+17
2011-08-27Convert rustc::driver::session to istrs. Issue #855Brian Anderson-3/+4
2011-08-27Convert pretty-printer to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert rustc::util to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert rustc::metadata to istrs. Issue #855Brian Anderson-37/+41
2011-08-27Convert rest of the AST to istrs. Issue #855Brian Anderson-6/+11
2011-08-27Convert rustc::lib::llvm to istr::sbufs. Issue #855Brian Anderson-4/+5
2011-08-27Convert the rest of rustc::back to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-11/+15
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-6/+6
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-7/+13
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-1/+2
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-20ReformatBrian Anderson-30/+29
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-5/+5