about summary refs log tree commit diff
path: root/src/test/run-pass/conditional-compile.rs
AgeCommit message (Collapse)AuthorLines
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