diff options
| author | Ralf Jung <post@ralfj.de> | 2025-07-08 06:59:33 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-08 06:59:33 +0000 |
| commit | 9110617cc7192e512511ef74de83cb8a8ab06a69 (patch) | |
| tree | 4376d8c702b0394cca4f7cc3204ed2c521d87530 /compiler/rustc_codegen_cranelift/src/common.rs | |
| parent | a96e73f39e99811a2550c1c96923058da3fa0a47 (diff) | |
| parent | bd84ba8ddab8817691022cc7ef6e0bd36015e819 (diff) | |
Merge pull request #4455 from RalfJung/rustup
Rustup
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/common.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/common.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/common.rs b/compiler/rustc_codegen_cranelift/src/common.rs index 2f11b2d2dcc..2fbe5c02802 100644 --- a/compiler/rustc_codegen_cranelift/src/common.rs +++ b/compiler/rustc_codegen_cranelift/src/common.rs @@ -15,7 +15,7 @@ use crate::debuginfo::FunctionDebugContext; use crate::prelude::*; pub(crate) fn pointer_ty(tcx: TyCtxt<'_>) -> types::Type { - match tcx.data_layout.pointer_size.bits() { + match tcx.data_layout.pointer_size().bits() { 16 => types::I16, 32 => types::I32, 64 => types::I64, |
