about summary refs log tree commit diff
path: root/compiler/rustc_span/src/symbol.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-11-29 21:32:03 -0800
committerScott McMurray <scottmcm@users.noreply.github.com>2024-12-27 08:17:40 -0800
commit2c0c9123fc45343eeda185c2b95e48bc4580c8c2 (patch)
tree8b79425397eb748868df546f4f0ce8132887f5d7 /compiler/rustc_span/src/symbol.rs
parent78af7da26d50d79b7f527b40182e4aaf541f1b37 (diff)
downloadrust-2c0c9123fc45343eeda185c2b95e48bc4580c8c2.tar.gz
rust-2c0c9123fc45343eeda185c2b95e48bc4580c8c2.zip
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.
Diffstat (limited to 'compiler/rustc_span/src/symbol.rs')
-rw-r--r--compiler/rustc_span/src/symbol.rs1
1 files changed, 1 insertions, 0 deletions
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,