Skip to content
Commits on Source (6)
[package]
name = "redox_uefi_std"
version = "0.1.2"
version = "0.1.4"
edition = "2018"
description = "UEFI standard library"
license = "MIT"
......
......@@ -5,13 +5,6 @@
#[no_mangle]
pub extern fn rust_eh_personality() {}
// This function may be needed based on the compilation target.
#[lang = "eh_unwind_resume"]
#[no_mangle]
pub extern fn rust_eh_unwind_resume() {
loop {}
}
#[panic_handler]
#[no_mangle]
pub extern fn rust_begin_panic(pi: &::core::panic::PanicInfo) -> ! {
......
......@@ -3,7 +3,7 @@ use uefi::status::Status;
use uefi::system::SystemTable;
#[no_mangle]
pub unsafe extern "win64" fn _start(handle: Handle, system_table: &'static mut SystemTable) -> Status {
pub unsafe extern "win64" fn efi_main(handle: Handle, system_table: &'static mut SystemTable) -> Status {
extern "C" {
fn main() -> Status;
}
......