Skip to content

Commit 7c445d7

Browse files
Fix example broken by recent rustc change
rust-lang/rust#129935 made `unsupported_calling_conventions` a hard-error, which in turn makes this test fail.
1 parent 40280c6 commit 7c445d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/items/external-blocks.md

+1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ standard C ABI on the specific platform. Other ABIs may be specified using an
6666
`abi` string, as shown here:
6767

6868
```rust
69+
# #[cfg(any(windows, target_arch = "x86"))]
6970
// Interface to the Windows API
7071
unsafe extern "stdcall" { }
7172
```

0 commit comments

Comments
 (0)