diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-16 12:53:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-16 12:53:22 -0700 |
| commit | 3eb8c2ae10cb47a99e7f9baed9158cedc783536f (patch) | |
| tree | ca4984b8f691c47709e025629df27390f340e4a8 /compiler/rustc_codegen_ssa | |
| parent | 4d5e7cdc03555676f2c309cc4a3daff880ba41b1 (diff) | |
| parent | ea19243d15de0d15bdeee6f82c27366477d7a043 (diff) | |
| download | rust-3eb8c2ae10cb47a99e7f9baed9158cedc783536f.tar.gz rust-3eb8c2ae10cb47a99e7f9baed9158cedc783536f.zip | |
Rollup merge of #112474 - ldm0:ldm_enum_debuginfo_128_support, r=compiler-errors
Support 128-bit enum variant in debuginfo codegen fixes #111600
Diffstat (limited to 'compiler/rustc_codegen_ssa')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/traits/consts.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_ssa/src/traits/consts.rs b/compiler/rustc_codegen_ssa/src/traits/consts.rs index dc2fc396480..d6e9bfce1a4 100644 --- a/compiler/rustc_codegen_ssa/src/traits/consts.rs +++ b/compiler/rustc_codegen_ssa/src/traits/consts.rs @@ -15,6 +15,7 @@ pub trait ConstMethods<'tcx>: BackendTypes { fn const_i32(&self, i: i32) -> Self::Value; fn const_u32(&self, i: u32) -> Self::Value; fn const_u64(&self, i: u64) -> Self::Value; + fn const_u128(&self, i: u128) -> Self::Value; fn const_usize(&self, i: u64) -> Self::Value; fn const_u8(&self, i: u8) -> Self::Value; fn const_real(&self, t: Self::Type, val: f64) -> Self::Value; |
