about summary refs log tree commit diff
path: root/src/comp/driver/session.rs
AgeCommit message (Collapse)AuthorLines
2011-12-17rustc: Remove --stack-growth optionBrian Anderson-1/+0
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-2/+2
2011-12-08rustc: Actually hook the crate_type attribute into sessionBrian Anderson-2/+6
2011-12-08rustc: Support 'crate_type' attributeBrian Anderson-0/+74
[crate_type = "lib"] builds it as a library. [crate_type = "bin"] builds it as an executable. Executable is the default. --lib and --bin switches override.
2011-12-08rustc: Determine the crate type (lib/bin) in the session, not session optsBrian Anderson-1/+4
This is in preparation for adding a #[crate_type] attribute
2011-12-07Change literal representation to not truncateMarijn Haverbeke-4/+4
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-12-06Add --no-core option and inject a use core/import core::* pair into crate ↵Graydon Hoare-0/+1
unless it's given.
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-17rustc: Add a flag '--warn-unused-imports'Haitao Li-1/+2
Followup of issue #889
2011-11-16Removed --no-typestate flag from rutscStefan Plantikow-1/+0
Fixes issue #1139
2011-11-16enable comments in generated asm, llNiko Matsakis-1/+2
2011-11-15Fix handling of loops and conditionals in alias.rsMarijn Haverbeke-0/+1
It now threads information about invalidated aliases through the AST properly. This makes it more permissive for conditionals (invalidating an alias in one branch doesn't prevent you from using it in another), and less permissive for loops (it now properly notices when a loop invalidates an alias that it might still use in another iteration). Closes #1144
2011-11-10Cleanup unused importsHaitao Li-1/+1
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-1/+1
right now there are many temporary hacks, search for NDM to find them
2011-11-02start to isolate target strings so that they can be configured forNiko Matsakis-0/+2
x64 or other targets
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-2/+1
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12enable unsafe checking but only with a flag --check-unsafeNiko Matsakis-1/+2
2011-10-04Encapsulate current sysroot and lib path handling into util::filesearchBrian Anderson-3/+6
2011-09-30rustc: Stub a --stack-growth option; it's behind a flag for now because it ↵Patrick Walton-1/+2
requires patches to LLVM.
2011-09-21Add target_triple to session::options. Use host triple by default, accept ↵Graydon Hoare-0/+1
--target on command line.
2011-09-12Factor imports mindlessly.Graydon Hoare-8/+3
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-12/+12
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-28/+20
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-2/+2
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-5/+5
2011-08-27Convert rustc::driver::session to istrs. Issue #855Brian Anderson-29/+33
2011-08-27Convert rustc::syntax::codemap to istrs. Issue #855Brian Anderson-9/+14
2011-08-20ReformatBrian Anderson-4/+3
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 typaram foo<T> syntax.Erick Tryzelaar-2/+2
2011-08-16Remove partial DPS back-endMarijn Haverbeke-1/+0
It won't be finished on the short term, and it's already bit-rotting fast. We can fetch this from git's autumn annals if we need it.
2011-08-10rustc: Add a --gc switch for debugging and experimentationPatrick Walton-1/+2
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-2/+2
2011-08-02Add a --no-trans command line optionBrian Anderson-1/+4
Runs all passes before translation. This will be used for pretty-printing tests to verify that the results are still probably valid Rust code.
2011-07-27Reformat for new syntaxMarijn Haverbeke-54/+47
2011-07-16Make clear the differentiation between char pos and byte pos in filemaps. ↵Josh Matthews-1/+1
Fix up error printing for files with multi-byte characters.
2011-07-15rustc: Introduce a stub destination-passing-style translation engine, ↵Patrick Walton-1/+2
accessible via the --dps switch for now
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-3/+2
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-1/+0
2011-07-13Make resolve and the typechecker check for a main fn of theTim Chevalier-0/+7
correct type This means if a non-library program leaves out the main program, the error gets caught earlier than link. Closes #626.
2011-07-11Move macro expansion to a separate phase, change macro syntax, and add ↵Paul Stansifer-11/+16
parse_sess to session.
2011-07-11Only print up to six lines on error. Print ^~~~~ to highlight error span.Josh Matthews-0/+1
2011-07-08Move used_link_args from session to cstoreBrian Anderson-7/+0
2011-07-08Move used_libraries from session to cstoreBrian Anderson-18/+0
2011-07-08Move used_crate_files from session to cstoreBrian Anderson-14/+0
2011-07-08Replace the crate cache in session with the one in cstoreBrian Anderson-6/+0
2011-07-08Introduce metadata::cstoreBrian Anderson-0/+2
I intend for this to be the location for storing all the data retrieved by creader, most of which is currently in the session.
2011-07-07Implement --lib --static.Rafael Ávila de Espíndola-0/+1
2011-07-07Command line changes for adding support for static libraries.Rafael Ávila de Espíndola-1/+1