Skip to content

Commit 9026816

Browse files
committed
Use global address space, not default
1 parent 5bfda9a commit 9026816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/rustc_codegen_nvvm/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ impl<'ll, 'tcx> CodegenCx<'ll, 'tcx> {
277277
"static `{}` exceeds the constant-memory limit; placing in global memory (performance may be reduced)",
278278
instance
279279
));
280-
AddressSpace::DATA
280+
AddressSpace(1)
281281
} else {
282282
AddressSpace(4)
283283
}

0 commit comments

Comments
 (0)