about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-06 23:13:52 +0100
committerGitHub <noreply@github.com>2022-12-06 23:13:52 +0100
commit62d5beed0f29c32147c7c91308d201b8940711b8 (patch)
tree03b379e83f9f2d8b6b78ac34b133fa72ef82209c
parent2ee1573fa56761b5c25b5a8d6898048486a9185b (diff)
parentbc38c2ae67e5a5b6e67c592e3fdf67737785dbe0 (diff)
downloadrust-62d5beed0f29c32147c7c91308d201b8940711b8.tar.gz
rust-62d5beed0f29c32147c7c91308d201b8940711b8.zip
Rollup merge of #105390 - nicholasbishop:bishop-example-ignore, r=ehuss
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(); }