diff options
author | Nicholas Bishop <nicholasbishop@google.com> | 2022-12-06 14:22:56 -0500 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@google.com> | 2022-12-06 14:45:38 -0500 |
commit | bc38c2ae67e5a5b6e67c592e3fdf67737785dbe0 (patch) | |
tree | ab67bb743b192dddfb12b57ba4126573b0beb496 | |
parent | e60fbaf4ce768d13a6abc048bd34ee12995d18dc (diff) | |
download | rust-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.md | 2 |
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(); } |