Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
Stabilize `abi_efiapi` feature Tracking issue: https://github.com/rust-lang/rust/issues/65815 Closes #65815
This commit is contained in:
commit
fa8f77a1de
11 changed files with 11 additions and 140 deletions
|
|
@ -1,23 +0,0 @@
|
|||
# `abi_efiapi`
|
||||
|
||||
The tracking issue for this feature is: [#65815]
|
||||
|
||||
[#65815]: https://github.com/rust-lang/rust/issues/65815
|
||||
|
||||
------------------------
|
||||
|
||||
The `efiapi` calling convention can be used for defining a function with
|
||||
an ABI compatible with the UEFI Interfaces as defined in the [UEFI
|
||||
Specification].
|
||||
|
||||
Example:
|
||||
|
||||
```rust,ignore (not-all-targets-support-uefi)
|
||||
#![feature(abi_efiapi)]
|
||||
|
||||
extern "efiapi" { fn f1(); }
|
||||
|
||||
extern "efiapi" fn f2() { todo!() }
|
||||
```
|
||||
|
||||
[UEFI Specification]: https://uefi.org/specs/UEFI/2.10/
|
||||
Loading…
Add table
Add a link
Reference in a new issue