mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-08-26 18:26:05 -04:00
rust: fix unsafe entry attribute for 2024 edition
This commit is contained in:
parent
5cbf1a1c5e
commit
907c63c2aa
1 changed files with 1 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ pub fn entry(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
let result = quote! {
|
||||
#fn_type_check
|
||||
|
||||
#[export_name = "efi_main"]
|
||||
#[unsafe(export_name = "efi_main")]
|
||||
#f
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue