about summary refs log tree commit diff
path: root/src/comp/driver/rustc.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-197/+0
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-1/+1
2012-02-20core: New task APIBrian Anderson-2/+0
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-1/+1
2012-02-09Remove some pointless importsMarijn Haverbeke-2/+0
2012-01-30Updating the manpage and usage messageKevin Cantu-35/+44
2012-01-26rustc: Switch the --no-core switch to a #[no_core] attributeBrian Anderson-1/+0
2012-01-19rustc: ";" to "," in enumsPatrick Walton-2/+2
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-19rustc: Name the lint-style check module `lint`Haitao Li-1/+1
Issue #1543
2012-01-19rustc: Add a usage pass to collect one-off analysesHaitao Li-0/+1
This patch starts from move the analysis which checkes of probably incorrectly usage of `int|uint` in native fn. Issue #1543
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-1/+1
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-14rustc: Output a note about how to debug unexpected failuresBrian Anderson-0/+6
2012-01-14rustc: Run the compiler in a subtask and monitor the diagnosticsBrian Anderson-6/+65
Since we are no longer logging to the console it's possible for us to hit a plain-old-fail statement and not output anything. This adds a defensive mechanism that will monitor the emitted errors and compare them to the result of the compiler task. If the compiler fails without emitting an error it results in an ICE.
2012-01-14rustc: Rename emit_diagnostic to emitBrian Anderson-1/+1
2012-01-14rustc: Thread a diagnostic::emitter through driverBrian Anderson-5/+12
2012-01-13rustc: Turn logging off by defaultBrian Anderson-0/+3
2012-01-11Major clean-up of std::ioMarijn Haverbeke-0/+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.
2011-12-30Print usage messages to rustc and rustdoc when invoked with no args. Close ↵Graydon Hoare-0/+3
#1394.
2011-12-20Separate driver rustc and librustcHaitao Li-600/+7
rustc is now a minimal wrapper of librustc.
2011-12-20rustc: Cleanup unused ext_mapHaitao Li-4/+4
2011-12-19Properly calculate base working dir for compile units.Josh Matthews-5/+5
2011-12-18Hide extended, unfinished debug information behind --xg compiler flag.Josh Matthews-2/+4
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-4/+5
2011-12-17rustc: Remove --stack-growth optionBrian Anderson-4/+0
2011-12-16Finish resolving and calling of crate-external implsMarijn Haverbeke-1/+1
Issue #1227
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-4/+3
2011-12-16Get very simple impl method calls to compileMarijn Haverbeke-4/+5
Resolution is still dumb, and no self support yet.
2011-12-16Parse and resolve implementations.Marijn Haverbeke-4/+5
Issue #1227
2011-12-16rustc: Implement non-renamed re-export across cratesHaitao Li-3/+3
First patch for issue #1115. Not yet ready for re-exported modules which are renamed when importing them.
2011-12-15Add an --out-dir option to rustc.Graydon Hoare-34/+70
2011-12-15Fix bug in library output filename construction: /tmp/foo.rc was being ↵Graydon Hoare-1/+4
linked as lib/tmp/foo-<hash>-<vers>.so not /tmp/foo-<hash>-<vers>.so
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-4/+5
2011-12-12rustc: build versioned library with hash in its nameHaitao Li-3/+3
Also updated build to install versioned libraries and added a few missing actions for `make clean`.
2011-12-08rustc: Actually hook the crate_type attribute into sessionBrian Anderson-1/+3
2011-12-08rustc: Move linking into compile_inputBrian Anderson-16/+20
2011-12-08rustc: Determine the crate type (lib/bin) in the session, not session optsBrian Anderson-8/+17
This is in preparation for adding a #[crate_type] attribute
2011-12-07Inject the view_items for core in the right place, add comment documenting ↵Graydon Hoare-5/+3
why the wrong place was wrong.
2011-12-06Add --no-core option and inject a use core/import core::* pair into crate ↵Graydon Hoare-0/+32
unless it's given.
2011-12-06Rename --noverify flag to --no-verify.Graydon Hoare-3/+3
2011-12-02Allow literal patterns to contain arbitrary literal expressionsMarijn Haverbeke-2/+2
This removes the need for the unary minus hacks, and allows some other neat things like matching on 1 >> 4. Issue #954
2011-11-21Add a pass that checks that blocks are only used in safe waysMarijn Haverbeke-0/+2
Closes #1188
2011-11-21Fix bad interaction between last-use finding and referencesMarijn Haverbeke-3/+3
The last-use pass now takes input from the alias pass to not mark things as last uses that are still accessed through a reference. Issue #925
2011-11-18Make trans use last_use info to not actually generate copiesMarijn Haverbeke-1/+1
Issue #925
2011-11-18Implement a last-use-of-local finding algorithmMarijn Haverbeke-2/+6
Issue #925
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-17rustc: Add a flag '--warn-unused-imports'Haitao Li-2/+7
Followup of issue #889
2011-11-16remove unused flag (thanks lht)Niko Matsakis-1/+1
2011-11-16Removed --no-typestate flag from rutscStefan Plantikow-8/+3
Fixes issue #1139
2011-11-16rustc: Fix help text for --sysrootBrian Anderson-1/+1