about summary refs log tree commit diff
path: root/src/comp/driver
AgeCommit message (Collapse)AuthorLines
2012-01-17rustc: --test overrides the crate_type attributeBrian Anderson-13/+30
2012-01-17Prevent pretty-printer from trying to consume stdin twiceMarijn Haverbeke-15/+15
Why this didn't fail on my machine, I don't know.
2012-01-17Try to fix pretty-printer failureMarijn Haverbeke-9/+8
I can't reproduce it on my side, unfortunately.
2012-01-17Fix --pretty normal, reorganize some code in driver.rsMarijn Haverbeke-48/+63
There is now only one path doing crate expanding and typechecking, which should make it less likely for the pretty-printing code to be broken by changes to the compilation pipeline. Closes #1536
2012-01-16Ensure library file always has a proper suffix.Josh Matthews-1/+1
2012-01-14rustc: Output a note about how to debug unexpected failuresBrian Anderson-0/+6
2012-01-14rustc: Fix testsBrian Anderson-4/+4
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: Extract the logic for generating an ICE messageBrian Anderson-2/+7
2012-01-14rustc: Rename mk_codemap_handler to mk_handlerBrian Anderson-4/+4
2012-01-14rustc: Rename emit_diagnostic to emitBrian Anderson-5/+5
2012-01-14rustc: Use the same diagnostic emmiter for both early errors and the sessionBrian Anderson-1/+2
This funnels all properly reported errors through a single closure. Yay.
2012-01-14rustc: Thread a diagnostic::emitter through driverBrian Anderson-16/+26
2012-01-14rustc: Pull some uses of early_error up into build_target_configBrian Anderson-13/+19
2012-01-14rustc: Rename diagnostic::diagnostictype to 'level'Brian Anderson-14/+14
2012-01-14rustc: Make it not an error when the source can't be loaded for highlightingBrian Anderson-2/+2
I plan to have a callback mechanism for reporting errors and it gets wierd when reporting errors while reporting an error.
2012-01-14rustc: Allow a custom diagnostic emitter when building the handlerBrian Anderson-12/+31
2012-01-13rustc: Remove emit_fatal/error/warning/note functionsBrian Anderson-24/+12
2012-01-13rustc: Add a distinct fatal diagnostic levelBrian Anderson-7/+13
2012-01-13rustc: Replace the lexer's error handling with diagnostic implBrian Anderson-1/+1
2012-01-13rustc: Replace parser's error handling with diagnostic implBrian Anderson-2/+7
2012-01-13rustc: Replace session's error handling with diagnostic implBrian Anderson-23/+21
2012-01-13rustc: Add diagnostic::handler iface and default implBrian Anderson-0/+77
This is for moving error handling logic out of the session
2012-01-13rustc: Stop exporting various things from driver::diagnosticBrian Anderson-3/+2
2012-01-13rustc: Extract driver::diagnostic from syntax::codemapBrian Anderson-9/+146
2012-01-13rustc: Refactor codemap::emit_* functionsBrian Anderson-8/+8
A codemap is only needed when we have a span so put them both into the option.
2012-01-13rustc: Turn logging off by defaultBrian Anderson-0/+3
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-69/+64
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-11Major clean-up of std::ioMarijn Haverbeke-3/+5
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.
2012-01-05rustc: Configure out #[test] functions when not testingBrian Anderson-5/+3
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2012-01-03More work on translating dictionary-passingMarijn Haverbeke-3/+4
Reached a point where simple uses of interfaces without bounds work. Issue #1227
2012-01-01freebsd supportUser Jyyou-1/+4
2011-12-30Print usage messages to rustc and rustdoc when invoked with no args. Close ↵Graydon Hoare-0/+3
#1394.
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-2/+2
2011-12-20Separate driver rustc and librustcHaitao Li-600/+622
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-6/+10
2011-12-18Hide extended, unfinished debug information behind --xg compiler flag.Josh Matthews-2/+5
2011-12-18std: getopts now uses result::t (fixes #1289)Stefan Plantikow-4/+5
2011-12-17rustc: Remove --stack-growth optionBrian Anderson-5/+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-6/+7
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`.