From bc38c2ae67e5a5b6e67c592e3fdf67737785dbe0 Mon Sep 17 00:00:00 2001 From: Nicholas Bishop Date: Tue, 6 Dec 2022 14:22:56 -0500 Subject: [PATCH] unstable-book: Add `ignore` to `abi_efiapi` example code This example doesn't compile on targets that don't support UEFI, as reported here: https://github.com/rust-lang/rust/pull/104793#issuecomment-1339783727 --- src/doc/unstable-book/src/language-features/abi-efiapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/unstable-book/src/language-features/abi-efiapi.md b/src/doc/unstable-book/src/language-features/abi-efiapi.md index 11ef0cfdb1422..b492da88474ee 100644 --- a/src/doc/unstable-book/src/language-features/abi-efiapi.md +++ b/src/doc/unstable-book/src/language-features/abi-efiapi.md @@ -12,7 +12,7 @@ Specification]. Example: -```rust +```rust,ignore (not-all-targets-support-uefi) #![feature(abi_efiapi)] extern "efiapi" { fn f1(); }