about summary refs log tree commit diff
path: root/src/test/run-pass/conditional-compile.rs
AgeCommit message (Collapse)AuthorLines
2013-05-03add gitattributes and fix whitespace issuesDaniel Micay-1/+1
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-2/+2
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-4/+4
2013-03-22librustc: Remove all uses of `static` from functions. rs=destaticPatrick Walton-4/+4
2013-03-19libsyntax: Forbid `use` (and most other things) within `extern { ... }` blocksPatrick Walton-7/+0
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-8/+8
blocks.
2013-03-11rt/core: port os::list_dir to rust ref #4812Jeff Olson-2/+2
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-2/+2
2013-03-07librustc: Remove "extern mod { ... }" from librustc, librustdoc, and tests. ↵Patrick Walton-17/+23
rs=deexterning
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-1/+1
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-2/+2
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-2/+2
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-2/+2
2013-01-30test: Remove export from the tests, language, and libraries. rs=deexportingPatrick Walton-18/+9
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-0/+2
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-11-01Support #[cfg] on methodsBrian Anderson-1/+35
2012-09-21Install new pub/priv/export rules as defaults, old rules accessible under ↵Graydon Hoare-1/+9
#[legacy_exports];
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-2/+2
2012-09-06Remove struct ctorsBrian Anderson-2/+13
2012-09-01Try to work around check-fast breakageBrian Anderson-2/+2
2012-08-31Fix test caseBrian Anderson-2/+2
2012-08-17Remove the class keywordBrian Anderson-2/+2
2012-08-01Convert ret to returnBrian Anderson-1/+1
2012-07-09rustc: Conditionally compile view items. #2357Brian Anderson-0/+10
2012-07-03Switch 'native' to 'extern' (or 'foreign' in some descriptions)Graydon Hoare-3/+3
2012-06-26Change 'native' and 'crust' to 'extern'.Graydon Hoare-1/+1
This comes with a terminology change. All linkage-symbols are 'extern' now, including rust syms in other crates. Some extern ABIs are merely "foreign". The term "native" is retired, not clear/useful. What was "crust" is now "extern" applied to a _definition_. This is a bit of an overloading, but should be unambiguous: it means that the definition should be made available to some non-rust ABI.
2012-06-06Revert "Revert "Fix test case so the class in it is non-empty" due to test ↵Tim Chevalier-2/+4
failures" This reverts commit c6e16c5668a86245259a4f542a62199b2023b89b.
2012-06-03prohibit type parameters in native fns and other minor fixesNiko Matsakis-2/+2
trans now can safely assert that it never sees a type param
2012-05-15Start porting tests to use classes with dtors instead of resourcesTim Chevalier-2/+6
2012-01-19rustc: Make the pretty printer output commas after enum variants. Update all ↵Patrick Walton-2/+2
tests accordingly.
2012-01-19test: "tag" -> "enum" in run-pass and run-failPatrick Walton-2/+2
2012-01-13Remove tests for objs, adjust tests that use objsMarijn Haverbeke-7/+0
2011-11-16Use attributes for native module ABI and link nameHaitao Li-3/+6
This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547
2011-11-09Add "cdecl" as synonym for "c-stack-cdecl"Brian Anderson-3/+3
2011-10-24move uses of rust ABI in tests to cdecl or c-stack-cdecl as apprNiko Matsakis-3/+3
Note: I found a bug in c-stack-cdecl which codes not permit such native functions to be used as values. I added an xfail-test (c-stack-as-value) documenting it.
2011-09-01Remove a bunch of string builtins. Issue #855Brian Anderson-2/+2
2011-08-16Port the tests to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-12Remove vec version of str::bytes, rename bytes_ivec to str::bytesBrian Anderson-2/+2
2011-08-03Remove all xfail-stage0 directivesBrian Anderson-2/+0
While it is still technically possible to test stage 0, it is not part of any of the main testing rules and maintaining xfail-stage0 is a chore. Nobody should worry about how tests fare in stage0.
2011-07-27Reformat for new syntaxMarijn Haverbeke-46/+40
2011-07-05Support conditional compilation of native items. Closes #610Brian Anderson-0/+8
2011-06-30Conditionally compile items declared as statements. Issue #489Brian Anderson-0/+13
2011-06-30Add more tests for conditional compilation. Issue #489Brian Anderson-1/+67
2011-06-30Un-XFAIL run-pass/conditional-compile.rs. Issue #489Brian Anderson-2/+0
2011-06-30Introduce a testcase for conditional compilation via attributesBrian Anderson-0/+10
Issue #489