about summary refs log tree commit diff
path: root/src/comp/metadata/creader.rs
AgeCommit message (Collapse)AuthorLines
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
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-4/+4
2011-08-16Rename std::ivec to std::vecBrian Anderson-4/+4
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-4/+4
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-1/+1
2011-08-12Rename std::ioivec to std::ioBrian Anderson-2/+2
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-17/+17
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-15/+13
2011-07-27Reformat for new syntaxMarijn Haverbeke-158/+142
2011-07-26Convert all code that uses walk.rs in the straightforward way to simple_visitMarijn Haverbeke-6/+6
Code that needs the keep_going functionality is still using walk. I will add an equivalent to visit.rs later.
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-9/+10
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-5/+4
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-16/+13
2011-07-08Recursively load dependencies of external crates. Issue #632Brian Anderson-5/+35
2011-07-08Refactor load_library_crate and resolve_crateBrian Anderson-14/+23
2011-07-08Add a map from external cnums to local cnums in cstore::crate_metadataBrian Anderson-2/+5
Once populated, this will allow us to load type info for types defined in external crates referenced by other external crates.
2011-07-08Extract resolve_crate from creader::visit_view_itemBrian Anderson-8/+14
2011-07-08Try to use static crate if we cannot find the dynamic one. This supportsRafael Ávila de Espíndola-3/+16
the common case of wanting to link statically with the project's libraries but dynamically with the system ones.
2011-07-08Add just enough logic to the driver so that we can link std statically.Rafael Ávila de Espíndola-0/+3
2011-07-08Replace various ints with ast::crate_numsBrian Anderson-2/+2
2011-07-08Move crate_map from resolve to cstoreBrian Anderson-51/+50
2011-07-08Comment creaderBrian Anderson-28/+29
2011-07-08Move used_link_args from session to cstoreBrian Anderson-1/+1
2011-07-08Move used_libraries from session to cstoreBrian Anderson-1/+2
2011-07-08Move used_crate_files from session to cstoreBrian Anderson-2/+3
2011-07-08Replace the crate cache in session with the one in cstoreBrian Anderson-1/+2
2011-07-07Refactor a few things in the metadata moduleBrian Anderson-1/+1
Rename metadata::tags to metadata::common. Move some utility functions from metadata::encoder to metadata::common.
2011-07-06rustc: Make meta items into interior vectorsPatrick Walton-5/+6
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-1/+1
(Possible now that a snapshot took place.)
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-12/+8
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Require that the meta items in a use statement have unique namesBrian Anderson-0/+2
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-5/+6
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
2011-07-04Use metadata to avoid always passing -Lrustllvm to the linker.Rafael Ávila de Espíndola-3/+19
2011-07-04Simplify.Rafael Ávila de Espíndola-11/+3
2011-06-30Move middle::attr to front::attrBrian Anderson-1/+1
2011-06-29Be more strategic about linking to rust cratesBrian Anderson-0/+2
Instead of linking directly to the rust crate, try to figure out the location and name of the library from the file name, then call gcc with appropriate -L, -l flags. This will allow dynamic linking to be more forgiving about where it loads the library from at runtime - currently a stage3 compiler can't run correctly from the stage0 directory. Only tested on Linux. Fingers crossed.