summary refs log tree commit diff
path: root/src/librustc/driver
AgeCommit message (Collapse)AuthorLines
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-22/+21
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-9/+9
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-28Unbreak 'rustc --help'Marvin Löbel-2/+1
2013-03-26rustc: Remove uses of oldmap::HashMapAlex Crichton-3/+3
2013-03-25Kill some warnings: unused imports and old #[deny(..)]s.Huon Wilson-1/+0
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-23/+23
2013-03-22rustc: replace uses of old deriving attribute with new oneAndrew Paseltiner-4/+4
2013-03-21auto merge of #5470 : sanxiyn/rust/remove-oldmap-2, r=sanxiynbors-16/+4
Referencing #4986.
2013-03-21Time type checking passes separatelySeo Sanghyeon-5/+3
2013-03-21Move the function to time passes to utilSeo Sanghyeon-11/+1
2013-03-20auto merge of #5443 : alexcrichton/rust/less-bad-copy, r=catamorphismbors-10/+7
Removes a lot of instances of `/*bad*/ copy` throughout libsyntax/librustc. On the plus side, this shaves about 2s off of the runtime when compiling `librustc` with optimizations. Ideally I would have run a profiler to figure out which copies are the most critical to remove, but in reality there was a liberal amount of `git grep`s along with some spot checking and removing the easy ones.
2013-03-19auto merge of #5432 : ILyoan/rust/arm_use_ndk_rebase, r=sanxiynbors-2/+16
Partial Fix for #5265 - Enabling LLVM ARM ehabi option. - Add ARM debug information manually for ccall.s - Compile object file using Android-NDK. Current LLVM trunk version can generate ARM debug information for assembly files but it is incomplete for object files. Unwinding on ARM can be done with LLVM trunk(the LLVM submodule of rust has problem on generating ARM debug information). See #5368 The Android-NDK detour(0f89eab) can be removed after LLVM has complete feature of generating ARM debug information for object file.
2013-03-20rustc: Remove some bad copies throughoutAlex Crichton-10/+7
2013-03-19auto merge of #5350 : yichoi/rust/pull-0313-2, r=graydon,pcwaltonbors-2/+2
FIX #5330 rename arm-unknown-android to arm-linux-androideabi
2013-03-19Make driver::driver::parse_cfgspecs parse any variety of meta_itemLuca Bruno-8/+8
All current meta items types (word, name-value, list) are now properly parsed by rustc --cfg command line. Fixes #2399 Signed-off-by: Luca Bruno <lucab@debian.org>
2013-03-19Use NDK for building android target objectsILyoan-2/+16
2013-03-13librustc: Remove "base types" from the language.Patrick Walton-39/+39
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-5/+5
2013-03-13Remove `++` mode from the compiler (it is parsed as `+` mode)Niko Matsakis-2/+2
and obsolete `-` mode altogether (it *was* parsed as `+` mode).
2013-03-13mk: target triple rename arm-unknown-android->arm-linux-androideabiYoung-il Choi-2/+2
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-9/+9
2013-03-06Merge remote-tracking branch 'brson/cross7'Brian Anderson-4/+11
Conflicts: configure mk/rt.mk
2013-03-05mk: --android-cross-path to rustcYoung-il Choi-2/+9
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-3/+0
2013-03-04Remove unused imports throughout src/Alex Crichton-8/+0
2013-03-03rustc: MIPS32 supportJyun-Yan You-5/+10
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-4/+5
imports
2013-02-25libsyntax: progress on making syntax::visit vecs_implicitly_copyable-freeErick Tryzelaar-1/+1
2013-02-25libsyntax: Convert ast::attribute_ to store a @meta_itemErick Tryzelaar-1/+1
2013-02-22De-implicit-self librustcBen Striegel-38/+48
2013-02-21mk: Split target triples into bulid triple + host triples + target triplesBrian Anderson-2/+2
For cross compiling to targets that don't want to build a compiler
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-2/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-1/+1
2013-02-20librustc: Get rid of structural records save for front/test.rs.Luqman Aden-81/+99
2013-02-19librustc: change driver::session::Session::str_of to return @~strErick Tryzelaar-2/+2
2013-02-19librustc: convert lint_dict to take @~strs as keysErick Tryzelaar-2/+2
2013-02-19convert ast::meta_items to take @~strsErick Tryzelaar-1/+1
2013-02-19convert syntax::attr to use @~strsErick Tryzelaar-12/+12
2013-02-19libsyntax and librustc: minor cleanupErick Tryzelaar-3/+3
2013-02-16Add target_endian crate cfg. Closes #4367Zack Corr-4/+7
2013-02-15rustpkg: Add preliminary imperative API supportZack Corr-9/+19
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-28/+4
slipped through. r=tjc
2013-02-15librustc: Get rid of `move`.Luqman Aden-2/+2
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-4/+4
2013-02-07auto merge of #4834 : veddan/rust/zflags, r=graydonbors-13/+18
Converted --static, --gc, --jit, -g and --xg to -Z flags.
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-39/+42
2013-02-08Added a few missing 'pub'sViktor Dahl-5/+5
2013-02-08Moved experimental compiler flags to -Z (#4740)Viktor Dahl-13/+18