summary refs log tree commit diff
path: root/src/librustc/metadata/loader.rs
AgeCommit message (Collapse)AuthorLines
2013-06-29Great renaming: propagate throughout the rest of the codebaseCorey Richardson-9/+8
2013-06-26Fix old .each usageCorey Richardson-2/+2
2013-06-26rustc: Eliminate extra failing case in metadata::loader::crate_from_metasTim Chevalier-52/+50
Closes #2406
2013-06-23vec: remove BaseIter implementationDaniel Micay-5/+5
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21librust: cleanup warnings (except 1)James Miller-23/+21
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-1/+1
This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-6/+6
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-1/+1
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-1/+1
2013-06-05token_to_ident takes argument by referenceJohn Clements-1/+1
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-1/+2
2013-05-30Remove a bunch of unnecessary allocations and copiesBjörn Steinbrink-2/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+8
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-2/+2
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-1/+2
to libextra
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-2/+2
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-1/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-1/+1
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-11auto merge of #6389 : sonwow/rust/issue-3356, r=bstriebors-1/+1
Fix for #3356
2013-05-10Move flate from core to stdBrian Anderson-1/+1
2013-05-10renamed str::from_slice to str::to_ownedYoungsoo Son-1/+1
2013-05-03rustc: Warning policeTim Chevalier-1/+1
2013-04-27only use #[no_core] in libcoreDaniel Micay-10/+0
2013-04-20Replaced many instances of reinterpret_cast with transmuteMatthijs Hofstra-1/+1
2013-04-19rustc: de-mode + fallout from libsyntax changesAlex Crichton-4/+4
2013-04-10FIX meta_section_name for macosILyoan-1/+12
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-5/+8
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-1/+1
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-05core: convert vec::{last,last_opt} to return referencesErick Tryzelaar-2/+2
2013-03-05rustc: minor code cleanupErick Tryzelaar-1/+1
2013-03-05rustc: remove some copiesErick Tryzelaar-6/+7
2013-02-20MergeTim Chevalier-2/+2
2013-02-20librustc: Get rid of structural records save for front/test.rs.Luqman Aden-19/+17
2013-02-19librustc: convert creader and cstore to use @~strsErick Tryzelaar-6/+6
2013-02-19librustc: minor cleanupErick Tryzelaar-8/+8
2013-02-19convert syntax::attr to use @~strsErick Tryzelaar-1/+1
2013-02-15librustc: Get rid of `move`.Luqman Aden-1/+1
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-31Finalize moves-based-on-type implementation.Niko Matsakis-2/+3
Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile.
2013-01-29librustc: De-export metadata. rs=deexportingPatrick Walton-21/+11
2013-01-24remove remaining is_not_empty functions/methodsDaniel Micay-1/+1
2013-01-23libsyntax: Remove `fn() unsafe { ... }`. r=graydonPatrick Walton-40/+42
2013-01-14syntax/rustc: Eliminate some bad copiesTim Chevalier-1/+1
r=pcwalton
2013-01-13Support ARM and Androidkyeongwoon-2/+5
Conflicts: src/libcore/os.rs src/librustc/back/link.rs src/librustc/driver/driver.rs src/librustc/metadata/loader.rs src/librustc/middle/trans/base.rs
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-2/+3
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-3/+2
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-2/+3
module scope. r=tjc
2013-01-08arrange core::os::constsILyoan-5/+11