Skip to content

Commit 0d9e32d

Browse files
committed
Rename "c-stack-stdcall" ABI to "stdcall"
1 parent b7ab28b commit 0d9e32d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/comp/syntax/parse/parser.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2010,8 +2010,6 @@ fn parse_item_native_mod(p: parser, attrs: [ast::attribute]) -> @ast::item {
20102010
abi = ast::native_abi_rust_intrinsic;
20112011
} else if str::eq(t, "cdecl") {
20122012
abi = ast::native_abi_cdecl;
2013-
} else if str::eq(t, "c-stack-stdcall") {
2014-
abi = ast::native_abi_stdcall;
20152013
} else if str::eq(t, "stdcall") {
20162014
abi = ast::native_abi_stdcall;
20172015
} else {

src/lib/win32_os.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ type DWORD = u32;
4343
type HMODULE = uint;
4444
type LPTSTR = str::sbuf;
4545

46-
native "c-stack-stdcall" mod kernel32 {
46+
native "stdcall" mod kernel32 {
4747
fn GetEnvironmentVariableA(n: str::sbuf, v: str::sbuf, nsize: uint) ->
4848
uint;
4949
fn SetEnvironmentVariableA(n: str::sbuf, v: str::sbuf) -> int;

0 commit comments

Comments
 (0)