about summary refs log tree commit diff
path: root/src/comp/metadata/creader.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-307/+0
2012-02-09Remove some pointless importsMarijn Haverbeke-1/+0
2012-01-31Change option::t to optionTim Chevalier-3/+3
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-4/+4
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-5/+5
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19Use ctypes in native function declarationsHaitao Li-1/+1
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-9/+10
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-11rustc: Don't allow empty link_name when nolink attribute is presentBrian Anderson-9/+12
Closes #1326
2012-01-11Major clean-up of std::ioMarijn Haverbeke-1/+1
Use ifaces instead of objs, stop wrapping everything in two (or three) layers of no-value-added indirection, and remove some of the more pointless/outdated idioms from the code.
2012-01-11Implement std::map as an iface/impl instead of an objMarijn Haverbeke-8/+6
2012-01-05Clean up translating of def_ids in metadata readerMarijn Haverbeke-1/+2
Reduces the amount of closure allocation, and makes the code cleaner.
2012-01-04"str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*")Lenny222-1/+1
2012-01-01freebsd supportUser Jyyou-0/+1
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-4/+4
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-13/+13
#debug.
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