rust/src/test
Haitao Li 88f29aab27 Use attributes for native module ABI and link name
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-16 11:35:13 -08:00
..
bench Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
compile-fail Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
pretty Add regression tests for previously ambiguous syntactic forms 2011-09-15 08:47:23 -07:00
run-fail Rehabilitate run-fail/linked-failure4.rs 2011-11-11 16:52:07 -08:00
run-pass Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
stdtest Replaced constant functions with actual constants in std and updated tests 2011-11-15 18:02:45 -08:00