diff options
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/lib/llvm.rs | 2 | ||||
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index ed38682ff7a..acf27fb2a81 100644 --- a/src/comp/lib/llvm.rs +++ b/src/comp/lib/llvm.rs @@ -112,7 +112,7 @@ const LLVMRealULE: uint = 13u; const LLVMRealUNE: uint = 14u; #[link_args = "-Lrustllvm"] -native "c-stack-cdecl" mod llvm = "rustllvm" { +native "cdecl" mod llvm = "rustllvm" { type ModuleRef; type ContextRef; diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 5ca1e46aaed..87b2cc175c0 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -2008,8 +2008,6 @@ fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item { let t = parse_str(p); if str::eq(t, "rust-intrinsic") { abi = ast::native_abi_rust_intrinsic; - } else if str::eq(t, "c-stack-cdecl") { - abi = ast::native_abi_cdecl; } else if str::eq(t, "cdecl") { abi = ast::native_abi_cdecl; } else if str::eq(t, "c-stack-stdcall") { |
