summary refs log tree commit diff
path: root/src/librustc/metadata
AgeCommit message (Collapse)AuthorLines
2014-01-07Make CFG_LIBDIR configurable. Fixes #5223Jan Niklas Hasse-4/+3
2014-01-06Disowned the Visitor.Eduard Burtescu-24/+31
2014-01-06auto merge of #11118 : jhasse/rust/patch-rustlibdir, r=alexcrichtonbors-1/+7
...stlib. Fixes #3319
2014-01-05Make rustc's own lib directory configurable and change the default to ↵Jan Niklas Hasse-1/+7
rustlib. Fixes #3319
2014-01-04Stop padding metadataSteven Fackler-4/+0
This is causing maybe_get_doc to fail when called at the top level of the metadata and doesn't appear to be needed anymore.
2014-01-04auto merge of #11295 : sfackler/rust/de-jank-encoder, r=brsonbors-6/+6
2014-01-03Remove a hacky buffer extraction from metadataSteven Fackler-6/+6
2014-01-03librustc: Remove `@mut` support from the typechecker and borrow checkerPatrick Walton-2/+2
2014-01-03librustc: De-`@mut` the AST mapPatrick Walton-3/+6
2014-01-03librustc: De-`@mut` the span handlerPatrick Walton-6/+5
2014-01-02auto merge of #10696 : fhahn/rust/issue9543-remove-extern-mod-foo, r=pcwaltonbors-1/+1
This patch for #9543 throws an `obsolete syntax` error for `extern mod foo (name="bar")` . I was wondering if [this](https://github.com/fhahn/rust/compare/mozilla:master...fhahn:issue9543-remove-extern-mod-foo?expand=1#diff-da9d34ca1d0f6beee2838cf02e07345cR4444) is the correct place to do this? I think the wording of the error message could probably be improved as well. If this approach is OK, I'm going to run the whole test suite tomorrow and update the old syntax to the new one.
2014-01-01Remove `extern mod foo (name="bar")` syntax, closes #9543Florian Hahn-1/+1
2014-01-01auto merge of #11255 : klutzy/rust/small-cleanup, r=pcwaltonbors-13/+13
This patchset removes some `@`s and unnecessary traits, and replaces a function (`dummy_sp()`) returning constant value by static variable.
2014-01-02syntax: expand impl_pretty_name to handle more cases.Huon Wilson-1/+1
The resulting symbol names aren't very pretty at all: trait Trait { fn method(&self); } impl<'a> Trait for ~[(&'a int, fn())] { fn method(&self) {} } gives Trait$$UP$$VEC$$TUP_2$$BP$int$$FN$$::method::...hash...::v0.0 However, at least it contain some reference to the Self type, unlike `Trait$__extensions__::method:...`, which is what the symbol name used to be for anything other than `impl Trait for foo::bar::Baz` (which became, and still becomes, `Trait$Baz::method`).
2014-01-01syntax::codemap: Add static DUMMY_SPklutzy-3/+3
It replaces `dummy_sp()`.
2014-01-01syntax::diagnostic: Remove unnecessary traitsklutzy-10/+10
This removes trait `handler` and `span_handler`, and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
2013-12-29Rename PkgId to CrateIdLuis de Bethencourt-29/+29
2013-12-29Rename pkgid variablesLuis de Bethencourt-9/+9
2013-12-27librustc: Implement coercion for traits.Luqman Aden-1/+7
2013-12-26librustc: De-`@mut` the def map.Patrick Walton-1/+2
This is the last `@mut` in `librustc` that does not depend on libsyntax.
2013-12-26librustc: Fully de-`@mut` `trait_impls` in the type contextPatrick Walton-1/+2
2013-12-26librustc: De-`@mut` the inherent implementations listPatrick Walton-2/+4
2013-12-26librustc: De-`@mut` the crate cache in the crate readerPatrick Walton-11/+16
2013-12-26librustc: De-`@mut` the `cnum_map`Patrick Walton-5/+12
2013-12-26librustc: De-`@mut` the encoding statsPatrick Walton-49/+46
2013-12-26librustc: De-`@mut` all remaining uses of `MemWriter`Patrick Walton-4/+4
2013-12-26librustc: De-`@mut` `creader::Env`Patrick Walton-11/+18
2013-12-26librustc: De-`@mut` several instances of `io::Writer`.Patrick Walton-4/+4
There are a few more related to pretty printing.
2013-12-26librustc: De-`@mut` arrays of `entry` used in the encoderPatrick Walton-26/+72
2013-12-26librustc: De-`@mut` the additional library search pathsPatrick Walton-5/+6
2013-12-26librustc: De-`@mut` `Rib::bindings`Patrick Walton-0/+1
2013-12-26librustc: De-`@mut` the export mapPatrick Walton-1/+2
2013-12-26librustc: De-`@mut` the `type_abbrevs` tablePatrick Walton-7/+14
2013-12-26librustc: De-`@mut` the `reachable` mapPatrick Walton-3/+4
2013-12-26librustc: De-`@mut` `cstore::CStore`Patrick Walton-25/+26
2013-12-26librustc: De-`@mut` `CStore::used_link_args`Patrick Walton-5/+6
2013-12-26librustc: De-`@mut` `CStore::used_libraries`Patrick Walton-7/+11
2013-12-26librustc: De-`@mut` `CStore::used_crate_sources`Patrick Walton-9/+8
2013-12-26librustc: De-`@mut` `CStore::extern_mod_crate_map`Patrick Walton-5/+8
2013-12-26librustc: De-`@mut` `CStore::metas`Patrick Walton-6/+11
2013-12-26libextra: Stop using `@mut MemWriter` in the EBML modulePatrick Walton-71/+81
2013-12-26librustc: De-`@mut` `ty::ctxt_::rcache`Patrick Walton-3/+9
2013-12-26librustc: De-`@mut` the `impls` table in the type contextPatrick Walton-1/+2
2013-12-26librustc: De-`@mut` `inherent_impls` in the type contextPatrick Walton-2/+4
2013-12-26librustc: De-`@mut` `trait_impls` in the type contextPatrick Walton-1/+2
2013-12-26librustc: De-`@mut` `CrateContext::non_inlineable_statics`Patrick Walton-3/+10
2013-12-26librustc: Remove unused `discrim_symbols` field from the crate contextPatrick Walton-4/+0
2013-12-26librustc: De-`@mut` `item_symbols`Patrick Walton-4/+7
2013-12-26librustc: De-`@mut` the short names cachePatrick Walton-6/+16
2013-12-26librustc: De-`@mut` the `trait_methods_cache`Patrick Walton-1/+2