Skip to content

Commit

Permalink
Fix example broken by recent rustc change
Browse files Browse the repository at this point in the history
rust-lang/rust#129935 made
`unsupported_calling_conventions` a hard-error, which in turn makes this
test fail.
  • Loading branch information
Tiger0202 committed Oct 22, 2024
1 parent 40280c6 commit 7c445d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/items/external-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ standard C ABI on the specific platform. Other ABIs may be specified using an
`abi` string, as shown here:

```rust
# #[cfg(any(windows, target_arch = "x86"))]
// Interface to the Windows API
unsafe extern "stdcall" { }
```
Expand Down

0 comments on commit 7c445d7

Please sign in to comment.