diff options
| author | Edoardo Marangoni <edoardo.marangoni@scisemi.com> | 2025-06-29 12:11:51 +0200 |
|---|---|---|
| committer | Edoardo Marangoni <ecmm@anche.no> | 2025-07-07 09:04:53 +0200 |
| commit | 93f1201c0616672d71e640a0ad600d029448c40a (patch) | |
| tree | 0b66541f5856f978ce18ce1643da965898cdd8d3 /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 733b47ea4b1b86216f14ef56e49440c33933f230 (diff) | |
| download | rust-93f1201c0616672d71e640a0ad600d029448c40a.tar.gz rust-93f1201c0616672d71e640a0ad600d029448c40a.zip | |
compiler: Parse `p-` specs in datalayout string, allow definition of custom default data address space
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/context.rs b/compiler/rustc_codegen_llvm/src/context.rs index 0324dff6ff2..90582e23b04 100644 --- a/compiler/rustc_codegen_llvm/src/context.rs +++ b/compiler/rustc_codegen_llvm/src/context.rs @@ -605,7 +605,7 @@ impl<'ll, 'tcx> CodegenCx<'ll, 'tcx> { GenericCx( FullCx { tcx, - scx: SimpleCx::new(llmod, llcx, tcx.data_layout.pointer_size), + scx: SimpleCx::new(llmod, llcx, tcx.data_layout.pointer_size()), use_dll_storage_attrs, tls_model, codegen_unit, |
