about summary refs log tree commit diff
path: root/src/comp/driver/rustc.rs
AgeCommit message (Collapse)AuthorLines
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
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