mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-29 12:27:25 +03:00
Merge remote-tracking branch 'origin/master' into llvm16
This commit is contained in:
+3
-2
@@ -648,8 +648,9 @@ pub fn defaultAddressSpace(
|
||||
function,
|
||||
},
|
||||
) AddressSpace {
|
||||
_ = target;
|
||||
_ = context;
|
||||
// The default address space for functions on AVR is .flash to produce
|
||||
// correct fixups into progmem.
|
||||
if (context == .function and target.cpu.arch == .avr) return .flash;
|
||||
return .generic;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user