Skip to content

Commit ce4d0e0

Browse files
authored
Merge pull request #1854 from ChrisDenton/patch-1
Use extern "system" instead of "stdcall" in example
2 parents 313735f + 17fe681 commit ce4d0e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/items/external-blocks.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ standard C ABI on the specific platform. Other ABIs may be specified using an
103103
`abi` string, as shown here:
104104

105105
```rust
106-
# #[cfg(any(windows, target_arch = "x86"))]
107106
// Interface to the Windows API
108-
unsafe extern "stdcall" { }
107+
unsafe extern "system" { }
109108
```
110109

111110
r[items.extern.abi.standard]

0 commit comments

Comments
 (0)