aboutsummaryrefslogtreecommitdiff
path: root/lib/std/zig.zig
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-04-05 23:32:18 +0200
committerAndrew Kelley <andrew@ziglang.org>2024-04-06 13:00:57 -0700
commit34bb670bb695969ce57cb3fc0e1bb673a1cc7243 (patch)
tree751db6d2115ab382af6536e928bfc6d885fca627 /lib/std/zig.zig
parent4a8121c1abfe6ffe9c6720e2841d80a36927b11a (diff)
downloadzig-34bb670bb695969ce57cb3fc0e1bb673a1cc7243.tar.gz
zig-34bb670bb695969ce57cb3fc0e1bb673a1cc7243.zip
package manager: set executable bit
Based on file content. Detects elf magic header or shebang line. Executable bit is ignored in hash calculation, as it was before this. So packages hashes are not changed. Reference: https://github.com/ziglang/zig/issues/17463#issuecomment-1984798880 Fixes: 17463 Test is here: https://github.com/ianic/zig-fetch-test/blob/7c4600d7bb263f9b72fe3d0b70071f42be89e25c/src/main.zig#L307 (if #19500 got accepted I'll move this test to the Fetch.zig)
Diffstat (limited to 'lib/std/zig.zig')
0 files changed, 0 insertions, 0 deletions