summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2023-11-20 20:16:20 +0000
committerMatthew Maurer <mmaurer@google.com>2023-11-20 20:16:20 +0000
commitb7cf1dd8f4bd09dbca52da35b568e6d307b41f35 (patch)
treedd79a279ee3665fce09d664e024c84d916b5c243
parent9df292c862b964a001c6d1218f7d06cd2b414933 (diff)
downloadlibbootloader-b7cf1dd8f4bd09dbca52da35b568e6d307b41f35.tar.gz
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
-rw-r--r--gbl/efi/src/main.rs3
1 files changed, 0 insertions, 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() {}