0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/zig/system
Jakub Konka df9462690f std: fix memory bug in getExternalExecutor
Until now, we would pass `candidate: NativeTargetInfo` which creates
a copy of the `NativeTargetInfo.DynamicLinker` buffer. We would then
return this buffer in `bad_dl: []const u8` which would goes out-of-scope
the moment we leave this function frame yielding garbage. To fix this,
we just need to remember to pass by const-pointer
`candidate: *const NativeTargetInfo`.
History 2023-10-06 12:43:00 +02:00
..
darwin correctly detect apple a15 and a16 chips 2023-10-03 00:36:59 -07:00
arm.zig Use builtin inference over @as where possible 2023-07-24 10:23:51 -07:00
darwin.zig darwin: move inference of SDK version into the linker 2023-08-29 06:43:41 +02:00
linux.zig Zir: implement explicit block_comptime instruction 2023-04-12 12:06:19 -04:00
NativePaths.zig Add illumos OS tag 2023-10-02 15:31:49 -06:00
NativeTargetInfo.zig std: fix memory bug in getExternalExecutor 2023-10-06 12:43:00 +02:00
windows.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
x86.zig all: zig fmt and rename "@XToY" to "@YFromX" 2023-06-19 12:34:42 -07:00