From 2c0c9123fc45343eeda185c2b95e48bc4580c8c2 Mon Sep 17 00:00:00 2001 From: Scott McMurray Date: Fri, 29 Nov 2024 21:32:03 -0800 Subject: Move `{widening, carrying}_mul` to an intrinsic with fallback MIR Including implementing it for `u128`, so it can be defined in `uint_impl!`. This way it works for all backends, including CTFE. --- compiler/rustc_span/src/symbol.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/rustc_span') diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs index 3d202f11722..c8825d031f5 100644 --- a/compiler/rustc_span/src/symbol.rs +++ b/compiler/rustc_span/src/symbol.rs @@ -555,6 +555,7 @@ symbols! { call_ref_future, caller_location, capture_disjoint_fields, + carrying_mul_add, catch_unwind, cause, cdylib, -- cgit 1.4.1-3-g733a5