about summary refs log tree commit diff
path: root/src/comp/driver
AgeCommit message (Collapse)AuthorLines
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`.
2011-12-08rustc: Actually hook the crate_type attribute into sessionBrian Anderson-3/+9
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: Move linking into compile_inputBrian Anderson-16/+20
2011-12-08rustc: Determine the crate type (lib/bin) in the session, not session optsBrian Anderson-9/+21
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-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/+33
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-2/+0
2011-11-17rustc: Add a flag '--warn-unused-imports'Haitao Li-3/+9
Followup of issue #889
2011-11-16remove unused flag (thanks lht)Niko Matsakis-1/+1
2011-11-16Removed --no-typestate flag from rutscStefan Plantikow-9/+3
Fixes issue #1139
2011-11-16rustc: Fix help text for --sysrootBrian Anderson-1/+1
2011-11-16wrap long line;Niko Matsakis-1/+2
2011-11-16enable comments in generated asm, llNiko Matsakis-3/+12
2011-11-15Support conditional compilation based on architectureBrian Anderson-1/+7
target_os = "x86" or target_os = "x86_64"
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-12Remove unused "--check-unsafe" flagHaitao Li-2/+1
Fixes issue #1138
2011-11-10Cleanup unused importsHaitao Li-8/+4
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-5/+5
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/+21
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