about summary refs log tree commit diff
path: root/src/libsyntax/ext/asm.rs
AgeCommit message (Collapse)AuthorLines
2013-08-08env! syntax extension changesSteven Fackler-2/+2
env! aborts compilation of the specified environment variable is not defined and takes an optional second argument containing a custom error message. option_env! creates an Option<&'static str> containing the value of the environment variable. There are no run-pass tests that check the behavior when the environment variable is defined since the test framework doesn't support setting environment variables at compile time as opposed to runtime. However, both env! and option_env! are used inside of rustc itself, which should act as a sufficient test. Close #2248
2013-08-01make `in` and `foreach` get treated as keywordsDaniel Micay-2/+2
2013-07-12Remove the global 'vec::to_owned' functionAlex Crichton-3/+1
2013-06-25great renaming propagation: syntaxCorey Richardson-3/+2
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-1/+2
This fixes the strange random crashes in compile-fail tests. This reverts commit 96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3. Conflicts: src/librustc/driver/driver.rs src/libstd/str.rs src/libsyntax/ext/quote.rs
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-7/+7
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-12std: unify the str -> [u8] functions as 3 methods: .as_bytes() and ↵Huon Wilson-2/+0
.as_bytes_with_null[_consume](). The first acts on &str and is not nul-terminated, the last two act on strings that are always null terminated (&'static str, ~str and @str).
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-1/+1
2013-06-11fix tests, remove some warningsHuon Wilson-1/+0
2013-06-10std: remove str::{connect,concat}*.Huon Wilson-1/+1
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-2/+0
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22syntax/ext: modernise ext_ctxt to be CamelCase and use new.Huon Wilson-1/+1
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-4/+4
2013-05-10renamed vec::from_slice to vec::to_ownedYoungsoo Son-1/+1
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-12/+0
2013-04-29librustc: Change labels to use the lifetime notation `'`.Patrick Walton-5/+18
2013-04-27only use #[no_core] in libcoreDaniel Micay-4/+0
2013-03-27libsyntax: Allow selecting intel style asm.Luqman Aden-1/+5
2013-03-27libsyntax: use a struct for inline asm in ast.Luqman Aden-3/+9
2013-03-15Tidy.Luqman Aden-1/+1
2013-03-15Implicitly use addr_of for output operands in asm.Luqman Aden-0/+7
2013-03-15Actually pass inline asm operands around.Luqman Aden-1/+2
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-4/+4
2013-03-12Add alignstack option for inline asm.Luqman Aden-1/+4
2013-03-12Keep everything tidy.Luqman Aden-9/+8
2013-03-12Parse operands properly and add a way to indicate volatile asm.Luqman Aden-11/+129
2013-03-12Create asm! syntax extension.Luqman Aden-0/+54