From b7cf1dd8f4bd09dbca52da35b568e6d307b41f35 Mon Sep 17 00:00:00 2001 From: Matthew Maurer Date: Mon, 20 Nov 2023 20:16:20 +0000 Subject: rustc update: __chkstk is provided __chkstk gets provided with rustc-1.73.0, use the provided implementation instead of providing an empty stub. Bug: 303252546 Test: bazel build --extra_toolchains=@gbl//toolchain:all //u-boot:gbl_efi _dist @gbl//tests Change-Id: I26030fb790e350b9830f1eeb97488c625d4e2c16 --- gbl/efi/src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/gbl/efi/src/main.rs b/gbl/efi/src/main.rs index 0df6e7b..b9c6a93 100644 --- a/gbl/efi/src/main.rs +++ b/gbl/efi/src/main.rs @@ -127,6 +127,3 @@ pub extern "C" fn efi_main(image_handle: *mut core::ffi::c_void, systab_ptr: *mu main(image_handle, systab_ptr).unwrap(); loop {} } - -#[no_mangle] -pub extern "C" fn __chkstk() {} -- cgit v1.2.3