From abe0d8d501da14507c92b8b6b9f7496e2621bfa6 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Mon, 23 May 2022 20:08:59 +0100 Subject: [PATCH] rust: remove panicking stub for `__mulodi4` Since Rust 1.60, LLVM is upgraded to LLVM 14 and it will no longer generate `__mulodi4` calls (https://godbolt.org/z/cWhE718rM), so this stub can be removed. Signed-off-by: Gary Guo --- rust/compiler_builtins.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/rust/compiler_builtins.rs b/rust/compiler_builtins.rs index 80ca4c0dcd24a4..329140bc0c5fb9 100644 --- a/rust/compiler_builtins.rs +++ b/rust/compiler_builtins.rs @@ -53,5 +53,4 @@ define_panicking_intrinsics!("`u128` should not be used", { #[cfg(target_arch = "arm")] define_panicking_intrinsics!("`u64` division/modulo should not be used", { __aeabi_uldivmod, - __mulodi4, });