Skip to content

Commit bed85a4

Browse files
unstable-book: Add page for the abi_efiapi feature
1 parent 83356b7 commit bed85a4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# `abi_efiapi`
2+
3+
The tracking issue for this feature is: [#65815]
4+
5+
[#65815]: https://github.com/rust-lang/rust/issues/65815
6+
7+
------------------------
8+
9+
The `efiapi` calling convention can be used for defining a function with
10+
an ABI compatible with the UEFI Interfaces as defined in the [UEFI
11+
Specification].
12+
13+
Example:
14+
15+
```rust
16+
#![feature(abi_efiapi)]
17+
18+
extern "efiapi" { fn f1(); }
19+
20+
extern "efiapi" fn f2() { todo!() }
21+
```
22+
23+
[UEFI Specification]: https://uefi.org/specs/UEFI/2.10/

0 commit comments

Comments
 (0)