about summary refs log tree commit diff
path: root/src/test/run-pass/x86stdcall2.rs
AgeCommit message (Collapse)AuthorLines
2011-11-16Use attributes for native module ABI and link nameHaitao Li-1/+2
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 "stdcall" as synonym for "c-stack-stdcall"Brian Anderson-1/+1
2011-11-09Make native "c-stack-stdcall" ABI workBrian Anderson-0/+26
The symbol name is based on the number of arguments, so we have to declare it correctly. For some reason GetLastError doesn't work now.