Skip to content

Commit f21eebe

Browse files
committed
ignore doctest of extern "stdcall" on non-x86
The "stdcall" ABI only exists on x86, so this causes tests to fail on other architectures. This should fix rust-lang/rust#40260 next time we update the reference.
1 parent 876582e commit f21eebe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/items.md

+1
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ modifier.
416416
extern fn new_i32() -> i32 { 0 }
417417

418418
// Declares an extern fn with "stdcall" ABI
419+
# #[cfg(target_arch = "x86_64")]
419420
extern "stdcall" fn new_i32_stdcall() -> i32 { 0 }
420421
```
421422

0 commit comments

Comments
 (0)