summary refs log tree commit diff
path: root/src/librustc/back
AgeCommit message (Collapse)AuthorLines
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
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-22/+22
2013-03-28Removing unused importsAlex Crichton-10/+7
2013-03-26rustc: Remove uses of oldmap::HashMapAlex Crichton-1/+1
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-36/+36
2013-03-22librustc: Remove `pure` from libsyntax and librustc.Patrick Walton-1/+1
2013-03-22rustc: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-21back-renamed slice_DBG_BRWD, slice_V_DBG_BRWD -> slice, slice_DBG_UNIQ -> ↵Marvin Löbel-1/+1
slice_unique
2013-03-21renamed str::view -> slice_DBG_BRWDMarvin Löbel-1/+1
renamed str::slice -> slice_DBG_UNIQ changed vec slice method -> to_owned() renamed vec view method -> slice_V_DBG_BRWD
2013-03-20auto merge of #5455 : pcwalton/rust/framework, r=catamorphismbors-5/+1
r? @catamorphism
2013-03-20auto merge of #5447 : erickt/rust/incoming, r=graydonbors-1/+1
This normalizes the how we call reverse iteration functions. It also adds a char_len method, and a method to iterate backwards over a string.
2013-03-20librustc: Fix bug preventing `-framework Foo` from working cross-crate.Patrick Walton-5/+1
2013-03-20core: add str::each{,i}_reverseErick Tryzelaar-1/+1
2013-03-20auto merge of #5443 : alexcrichton/rust/less-bad-copy, r=catamorphismbors-8/+8
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-9/+41
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-8/+8
2013-03-19auto merge of #5350 : yichoi/rust/pull-0313-2, r=graydon,pcwaltonbors-1/+1
FIX #5330 rename arm-unknown-android to arm-linux-androideabi
2013-03-19Use NDK for building android target objectsILyoan-9/+41
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-13auto merge of #5293 : brson/rust/logging, r=brsonbors-1/+1
r? @graydon This removes `log` from the language. Because we can't quite implement it as a syntax extension (probably need globals at the least) it simply renames the keyword to `__log` and hides it behind macros. After this the only way to log is with `debug!`, `info!`, etc. I figure that if there is demand for `log!` we can add it back later. I am not sure that we ever agreed on this course of action, though I *think* there is consensus that `log` shouldn't be a statement.
2013-03-13mk: target triple rename arm-unknown-android->arm-linux-androideabiYoung-il Choi-1/+1
2013-03-11Remove uses of logBrian Anderson-1/+1
2013-03-12Avoid propagating link_arg values that are unlikely to be resolveable under ↵Josh Matthews-1/+5
arbitrary directories.
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-1/+1
2013-03-07librustc: Add #[link_args] to metadataPatrick Walton-1/+9
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-22/+22
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-4/+6
rs=deexterning
2013-03-06Merge remote-tracking branch 'brson/cross7'Brian Anderson-7/+12
Conflicts: configure mk/rt.mk
2013-03-06Fix bug in coherence that causes all cross-crate impls to be regarded asNiko Matsakis-0/+1
inherent impls, not just those of the `impl Type` variety.
2013-03-05mk: --android-cross-path to rustcYoung-il Choi-7/+12
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-0/+2
2013-03-04Add a special FIXME for subduing warnings in rpath.rsAlex Crichton-1/+6
2013-03-04Remove unused imports throughout src/Alex Crichton-11/+0
2013-03-03rustc: implement MIPS O32 ABIJyun-Yan You-1/+1
2013-03-03rustc: MIPS32 supportJyun-Yan You-0/+85
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-7/+6
imports
2013-02-26Add a 'start' lang item and use it instead of rust_startBrian Anderson-3/+3
2013-02-20librustc: tidyLuqman Aden-1/+3
2013-02-20librustc: Get rid of structural records save for front/test.rs.Luqman Aden-48/+63
2013-02-19librustc: change driver::session::Session::str_of to return @~strErick Tryzelaar-1/+1
2013-02-19convert ast::meta_items to take @~strsErick Tryzelaar-6/+6
2013-02-19convert syntax::attr to use @~strsErick Tryzelaar-2/+2
2013-02-19Change functions from taking ~str to taking &strErick Tryzelaar-6/+6
2013-02-17syntax: Implement recursive sorting of meta items. Closes #607Zack Corr-5/+11
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-1/+1
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15librustc: Get rid of `move`.Luqman Aden-4/+4
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-1/+1
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-08librustc/back/rpath.rs: oldmap -> LinearSetDaniel Micay-8/+5
2013-02-08oldmap: get rid of legacy _ref suffixesDaniel Micay-1/+1