about summary refs log tree commit diff
path: root/src/comp/driver/rustc.rs
AgeCommit message (Collapse)AuthorLines
2011-11-16wrap long line;Niko Matsakis-1/+2
2011-11-16enable comments in generated asm, llNiko Matsakis-2/+10
2011-11-15Support conditional compilation based on architectureBrian Anderson-1/+7
target_os = "x86" or target_os = "x86_64"
2011-11-12Remove unused "--check-unsafe" flagHaitao Li-2/+1
Fixes issue #1138
2011-11-10Cleanup unused importsHaitao Li-7/+3
2011-11-09middle: Add a pass to reject bad const expressions earlier. Currently just ↵Joshua Wise-0/+2
rejects unimplemented const expressions, but will be needed later.
2011-11-07Use ".ll" as default suffix of LLVM assembly fileHaitao Li-1/+1
This commit is a follow up of Issue #1147. Althought there are some inconsistency about this naming convention in LLVM. For example, `clang' write LLVM assembly to a file with ".s" suffix, while both `llvm-dis' and `opt' write to files with ".ll" suffices. We think ".ll" makes more sense. Also rustc manual page is updated.
2011-11-07rustc: Add support of generating LLVM assemblyHaitao Li-0/+3
rustc generates output files in LLVM bitcode format if "--emit-llvm" option is given. When used with the "-S" option, rustc generates LLVM intermediate language assembly files. Fixes Issue #476
2011-11-03Disallow writing to function arguments againMarijn Haverbeke-1/+1
Remove implicit copying hack. Closes #1118
2011-11-02hack around on makefiles trying to get a 64 bit buildNiko Matsakis-4/+4
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-6/+19
x64 or other targets
2011-10-29stdlib: Make io failures recoverable by returning a resultBrian Anderson-5/+11
2011-10-28rustc: Remove broken --depend flagBrian Anderson-1/+0
2011-10-28rustc: -h cleanupBrian Anderson-2/+2
2011-10-28rustc: Change --OptLevel to --opt-levelBrian Anderson-7/+7
2011-10-28rustc: Use consistent error handling in mainBrian Anderson-16/+17
2011-10-28Reorder statements in rustc main to avoid bounds checkBrian Anderson-3/+3
2011-10-28rustc: Lift output file name handling out of mainHaitao Li-40/+53
2011-10-28Produce dyn libraries with proper namesHaitao Li-15/+15
Issue #744
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-1/+1
2011-10-13Rename rustc::middle::unsafeck to fn_usageBrian Anderson-3/+3
I'm going to add further checks unrelated to unsafe. Issue #1038
2011-10-12reimplement some of the unsafe stuff which got lostNiko Matsakis-3/+1
- blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile
2011-10-12make a good error msg if you try to use an unsafe fn for a testNiko Matsakis-1/+1
2011-10-12add pass to check that unsafe fns cannot be used as valuesNiko Matsakis-1/+3
2011-10-12correct lines over 78 charsNiko Matsakis-1/+1
2011-10-12enable unsafe checking but only with a flag --check-unsafeNiko Matsakis-2/+5
2011-10-12[Renaming] str_to_float is now float::from_str, float_to_str is now ↵David Rajchenbach-Teller-1/+1
float::to_str
2011-10-11[Move] Moved str_to_float, float_to_str from compiler to libDavid Rajchenbach-Teller-1/+1
2011-10-10Adjust function signatures to allow for vecs being immediateMarijn Haverbeke-1/+1
Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021
2011-10-06Revert "rustc: Add a workaround for a segfault with --time-passes (issue ↵Marijn Haverbeke-24/+9
#1005)." This reverts commit 100e0264b2a2e4e7d8f27b4ed25af8cb7b4a8c3c.
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-24/+15
2011-09-30rustc: Stub a --stack-growth option; it's behind a flag for now because it ↵Patrick Walton-2/+6
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/+31
--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-31/+9
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-0/+1
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-27/+29
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-226/+191
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-6/+6