about summary refs log tree commit diff
path: root/src/comp/driver
AgeCommit message (Collapse)AuthorLines
2011-10-05rustc: Add a workaround for a segfault with --time-passes (issue #1005).Patrick Walton-9/+24
2011-10-04Use std::os::get_exe_path to determine sysrootBrian Anderson-6/+4
2011-10-04Remove some redundancy in metadata::creaderBrian Anderson-4/+4
2011-10-04Encapsulate current sysroot and lib path handling into util::filesearchBrian Anderson-27/+21
2011-09-30rustc: Stub a --stack-growth option; it's behind a flag for now because it ↵Patrick Walton-3/+8
requires patches to LLVM.
2011-09-30Change the directory for target libsBrian Anderson-2/+1
This pushes them down from stageN/lib/rustc/$(target) to stageN/lib/rustc/$(target)/lib in order to make room for a target bin dir
2011-09-29Remove legacy library search pathsBrian Anderson-1/+1
2011-09-29Make rustc's host triple agree with the build system'sBrian Anderson-1/+9
2011-09-29Reorganize structure of build directoryBrian Anderson-10/+10
Each stage is organized more according to Unix standards and to accommodate multiple target architectures. stageN/ bin - rustc lives here lib - libraries that rustc needs lib/rustc/$(target_triple/ - target libraries
2011-09-28Eliminate glue.o. Closes #990Brian Anderson-11/+1
2011-09-23More steps to arch-specific target libs (#474)Graydon Hoare-1/+1
2011-09-21Add target_triple to session::options. Use host triple by default, accept ↵Graydon Hoare-14/+32
--target on command line.
2011-09-20Move linker invocation from driver::rustc to back::linkBrian Anderson-87/+1
2011-09-12Factor imports mindlessly.Graydon Hoare-39/+12
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-0/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-39/+41
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-12Pass all arguments by reference, make immut alias mode equiv to valueMarijn Haverbeke-3/+3
Arguments that can't be safely referenced will be implicitly copied. (Warnings for expensive copies will be forthcoming.) This will allow us to get rid of most of the ampersands in function signatures. See [1]. [1] https://mail.mozilla.org/pipermail/rust-dev/2011-September/000759.html
2011-09-02Reformat. Issue #855Brian Anderson-254/+211
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-8/+8
2011-09-01Use #env to get the rustc version again. Issue #855Brian Anderson-3/+1
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-31/+31
2011-09-01Remove std::str. Issue #855Brian Anderson-2/+0
2011-09-01Remove the last use of istr::to_estr from rustc. Issue #855Brian Anderson-5/+5
2011-09-01Convert main functions to istrs. Issue #855Brian Anderson-2/+1
2011-09-01Make resolve recognize upvarsMarijn Haverbeke-2/+2
Upvars are now marked with def_upvar throughout, not just when going through freevars::lookup_def. This makes things less error-prone. One thing to watch out for is that def_upvar is used in `for each` bodies too, when they refer to a local outside the body.
2011-09-01Move mutability checking into its own pass.Marijn Haverbeke-2/+4
Having it in the alias pass was slightly more efficient (finding expression roots has to be done in both passes), but further muddled up the already complex alias checker. Also factors out some duplication in the mutability-checking code.
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-23/+23
2011-08-30Convert #env to istrs. Temporarily disable usage in rustc. Issue #855Brian Anderson-1/+3
2011-08-27Convert misc compiler bits to istrs. Issue #855Brian Anderson-8/+8
2011-08-27Convert rustc driver to istrs. Issue #855Brian Anderson-111/+115
2011-08-27Convert rustc::driver::session to istrs. Issue #855Brian Anderson-39/+45
2011-08-27Convert rustc::syntax::codemap to istrs. Issue #855Brian Anderson-9/+14
2011-08-27Convert pretty-printer to istrs. Issue #855Brian Anderson-6/+7
2011-08-27Convert parser to istrs. Issue #855Brian Anderson-3/+6
2011-08-27Convert rustc::util to istrs. Issue #855Brian Anderson-2/+4
2011-08-27Convert rustc::metadata to istrs. Issue #855Brian Anderson-13/+14
2011-08-27Convert rustc::middle::trans to istrs. Issue #855Brian Anderson-2/+2
2011-08-27Convert rustc::lib::llvm to istr::sbufs. Issue #855Brian Anderson-2/+2
2011-08-27Convert back::link to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-10/+12
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-5/+8
2011-08-27Convert std::run to istrs. Issue #855Brian Anderson-13/+18
2011-08-27Convert std::getopts to istrs. Issue #855Brian Anderson-55/+61
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-16/+19
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-4/+7
2011-08-26Deleting trailing whitespaceEric Holk-1/+1
2011-08-26Bugfix. `--pretty typed` requires expansion. Closes #691.Paul Stansifer-21/+14
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-22Drop arguments on the caller side, not the calleeMarijn Haverbeke-15/+13
This makes it easier for the caller to optimize the take/drop away for temporary values, and opens up new possibilities for alias handling. Breaks tail calls.