summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@google.com>2022-12-06 14:22:56 -0500
committerNicholas Bishop <nicholasbishop@google.com>2022-12-06 14:45:38 -0500
commitbc38c2ae67e5a5b6e67c592e3fdf67737785dbe0 (patch)
treeab67bb743b192dddfb12b57ba4126573b0beb496
parente60fbaf4ce768d13a6abc048bd34ee12995d18dc (diff)
downloadrust-bc38c2ae67e5a5b6e67c592e3fdf67737785dbe0.tar.gz
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
-rw-r--r--src/doc/unstable-book/src/language-features/abi-efiapi.md2
1 files changed, 1 insertions, 1 deletions
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 11ef0cfdb14..b492da88474 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(); }