about summary refs log tree commit diff
path: root/src/rustc/driver/session.rs
AgeCommit message (Collapse)AuthorLines
2012-11-07Rename src/rustc to src/librustc. Use the driver crateBrian Anderson-385/+0
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-8/+8
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-1/+1
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-11Remove unneeded no_rt flagTim Chevalier-13/+9
2012-09-26turn ast::ident into a structErick Tryzelaar-1/+1
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-27/+0
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-0/+1
#[legacy_exports];
2012-09-20syntax: Pass the correct crate_cfg to the syntax expanderBrian Anderson-0/+4
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+27
2012-09-18Revert "rustc: Change all non-keyword uses of "link""Patrick Walton-3/+3
This reverts commit 3b013cd800ce675a445220105911bbefd2427e47.
2012-09-18rustc: Change all non-keyword uses of "link"Patrick Walton-3/+3
2012-09-12trans: overhaul match bindings. No more phi, one code path for guards.Niko Matsakis-4/+3
Fixes #3256. Fixes #3291.
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-2/+2
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-1/+1
2012-09-07Do not copy values of type () or _|_Niko Matsakis-18/+20
This can trigger a crash because we assume we can supply null ptrs and undefined values for values of those types, as we should be treated them as zero-size. Interestingly, this crash only shows up (atm) in non-optimized builds. Therefore, I added a -Z no-opt flag so that the new test (capture_nil) can specify that it should not run with optimizations enabled.
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+3
2012-09-04rustc: "import" -> "use"Patrick Walton-9/+9
2012-08-31jit: Correct formatting and argv[0] for JITted programsZack Corr-0/+2
2012-08-31Add experimental JIT compilerZack Corr-0/+2
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-0/+18
2012-08-27Add some counters to metadata.Graydon Hoare-1/+4
2012-08-26Camel case the option typeBrian Anderson-5/+5
2012-08-24Eliminate match checks in trans and typeckTim Chevalier-1/+1
2012-08-24Start using core::path2::Path in a lot of places.Graydon Hoare-3/+3
2012-08-24rustc: Add flag for enabling GC.Elliott Slaughter-0/+2
2012-08-22intern identifiersPaul Stansifer-2/+12
2012-08-22Eliminate many match checks in rustcTim Chevalier-2/+14
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-07Add minor debug mode for measuring type sizes, helper for #3025.Graydon Hoare-1/+5
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-4/+4
2012-08-05Switch alts to use arrowsBrian Anderson-12/+12
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-07-26Nomenclature fixes in the lint checker. Fewer double-negatives.Graydon Hoare-5/+7
New style is allow(foo), warn(foo), deny(foo) and forbid(foo), mirrored by -A foo, -W foo, -D foo and -F foo on command line. These replace -W no-foo, -W foo, -W err-foo, respectively. Forbid is new, and means "deny, and you can't override it".
2012-07-25Added debug flag to enable LLVM debug output.Elliott Slaughter-1/+3
2012-07-23Add debug flag to turn off landing pads.Elliott Slaughter-1/+4
2012-07-17rustc: Implement and enforce instance coherencePatrick Walton-1/+5
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-40/+41
#2907.
2012-07-13Support prefix notation for vstore strings. Closes #2906.Michael Sullivan-2/+2
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-2/+6
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-11new option to note where purity is req'dNiko Matsakis-1/+5
2012-07-11add ability to report statistics about how borrowck is being usedNiko Matsakis-3/+6
2012-07-10rustc: Introduce a coherence checker, behind a compile switch for nowPatrick Walton-3/+3
2012-07-04convert doc-attributes to doc-comments using ↵Gareth Daniel Smith-1/+1
./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
2012-07-02rustc: Implement a new resolve pass behind a compile flagPatrick Walton-1/+4
2012-07-02Merge remote-tracking branch 'Dretch/prettydocs'Brian Anderson-1/+2
Conflicts: src/compiletest/errors.rs src/libsyntax/parse/attr.rs src/libsyntax/parse/comments.rs src/test/compile-fail/ambig_impl_unify.rs src/test/compile-fail/assign-super.rs src/test/compile-fail/bad-for-loop.rs src/test/compile-fail/bad-var-env-capture-in-block-arg.rs src/test/compile-fail/block-arg-as-stmt-with-value.rs src/test/compile-fail/borrowck-assign-comp-idx.rs src/test/compile-fail/borrowck-lend-flow.rs src/test/compile-fail/borrowck-loan-blocks-move-cc.rs src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs src/test/compile-fail/borrowck-loan-rcvr.rs src/test/compile-fail/borrowck-loan-vec-content.rs src/test/compile-fail/borrowck-mut-vec-as-imm-slice-bad.rs src/test/compile-fail/cap-clause-with-stack-closure.rs src/test/compile-fail/do1.rs src/test/compile-fail/do2.rs src/test/compile-fail/empty-vec-trailing-comma.rs src/test/compile-fail/evec-subtyping.rs src/test/compile-fail/issue-1896.rs src/test/compile-fail/issue-2149.rs src/test/compile-fail/issue-2150.rs src/test/compile-fail/issue-2487-b.rs src/test/compile-fail/kindck-implicit-close-over-mut-var.rs src/test/compile-fail/liveness-issue-2163.rs src/test/compile-fail/liveness-use-in-index-lvalue.rs src/test/compile-fail/no-reuse-move-arc.rs src/test/compile-fail/no-send-res-ports.rs src/test/compile-fail/non-const.rs src/test/compile-fail/pure-higher-order.rs src/test/compile-fail/pure-loop-body.rs src/test/compile-fail/regions-addr-of-upvar-self.rs src/test/compile-fail/regions-escape-loop-via-vec.rs src/test/compile-fail/regions-scoping.rs src/test/compile-fail/seq-args.rs src/test/compile-fail/tstate-unsat-in-called-fn-expr.rs src/test/compile-fail/tstate-unsat-in-fn-expr.rs src/test/compile-fail/vec-add.rs src/test/compile-fail/vec-concat-bug.rs src/test/compile-fail/vector-no-ann.rs
2012-06-30initial draft of fix for issue #2498:Gareth Daniel Smith-1/+2
1. make /// ... and //! ... and /** ... */ and /*! ... */ into sugar for #[doc = ...] attributes. 2. add a script in etc/ to help converting doc-attributes to doc-comments 3. add some functions to core::str to help with (1)
2012-06-29Switch the compiler over to using ~[] notation instead of []/~. Closes #2759.Michael Sullivan-15/+15
2012-06-25Make vectors uglier ([]/~). Sorry. Should be temporary. Closes #2725.Michael Sullivan-14/+14
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-1/+1
2012-06-19rustc: Add a temporary option to not link to the runtimeBrian Anderson-2/+6