zig/src
Andrew Kelley 627a292a11 fetch: remove calls to fsync
fsync blocks until the contents have been actually written to disk,
which would be useful if we didn't want to report success until having
achieved durability. But the OS will ensure coherency; i.e. if one
process writes stuff without calling fsync, then another process reads
that stuff, the writes will be seen even if they didn't get flushed to
disk yet.

Since this code deals with ephemeral cache data, it's not worth trying
to achieve this kind of durability guarantee. This is consistent with
all the other tooling on the system.

Certainly, if we wanted to change our stance on this, it would not be
something that affects only the git fetching logic.
2025-07-31 08:59:56 -07:00
..
Air inline assembly: use types 2025-07-16 10:23:02 -07:00
arch Merge pull request #24585 from jacobly0/aarch64 2025-07-27 00:17:19 -07:00
codegen llvm: fix atomic widening of packed structs 2025-07-30 09:56:38 +01:00
Compilation Target: pass and use locals by pointer instead of by value 2025-06-19 11:45:06 -04:00
libs libcxx: fix building for wasm32-wasi by disabling exceptions 2025-07-14 07:12:34 +02:00
link aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
Package fetch: remove calls to fsync 2025-07-31 08:59:56 -07:00
Sema std.io.Writer.printValue: rework logic 2025-07-07 22:43:53 -07:00
Zcu aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
Air.zig inline assembly: use types 2025-07-16 10:23:02 -07:00
Builtin.zig std.fs.File: delete writeFileAll and friends 2025-07-21 12:32:37 -07:00
clang.zig zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig compiler: Allow configuring UBSan mode at the module level. 2025-04-26 22:54:34 +02:00
codegen.zig codegen: prevent AnyMir from bloating zig1.wasm 2025-07-22 19:43:47 -07:00
Compilation.zig aarch64: implement some safety checks 2025-07-26 17:31:04 -04:00
crash_report.zig update compiler source to new APIs 2025-07-07 22:43:52 -07:00
DarwinPosixSpawn.zig lib/std: PermissionDenied/AccessDenied cleanup and fallout 2025-03-24 16:20:45 +01:00
deprecated.zig std.zig: finish updating to new I/O API 2025-07-19 19:57:37 -07:00
dev.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
fmt.zig std.fs.File: delete writeFileAll and friends 2025-07-21 12:32:37 -07:00
IncrementalDebugServer.zig std.net: update to new I/O API 2025-07-14 00:16:49 -07:00
InternPool.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
introspect.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
link.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
main.zig update zig env to respect ZIG_LIB_DIR and support wasi 2025-07-30 09:45:03 +01:00
mutable_value.zig Legalize: implement scalarization of binary operations 2025-05-31 18:54:28 -04:00
Package.zig std.fmt: breaking API changes 2025-07-07 22:43:51 -07:00
print_env.zig update zig env to respect ZIG_LIB_DIR and support wasi 2025-07-30 09:45:03 +01:00
print_targets.zig std.zon: better namespace for Serializer 2025-07-19 18:27:09 -07:00
print_value.zig std.io.Writer.printValue: rework logic 2025-07-07 22:43:53 -07:00
print_zir.zig compiler: update a bunch of format strings 2025-07-07 22:43:52 -07:00
print_zoir.zig update compiler source to new APIs 2025-07-07 22:43:52 -07:00
RangeSet.zig sema: rework type resolution to use Zcu when possible 2024-08-25 15:16:42 -07:00
register_manager.zig std.fmt.format: use {t} for tag name rather than {s} 2025-07-07 22:43:52 -07:00
Sema.zig Sema: add note suggesting dropping try on non error-unions 2025-07-31 16:55:17 +01:00
target.zig compiler: disable self-hosted x86_64 backend on OpenBSD 2025-07-30 17:17:22 +02:00
tracy.zig Update TracyAllocator to new allocator API 2025-07-05 00:24:40 +02:00
translate_c.zig std.zon: better namespace for Serializer 2025-07-19 18:27:09 -07:00
Type.zig aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
Value.zig std.fmt: fully remove format string from format methods 2025-07-07 22:43:53 -07:00
Zcu.zig Sema: catch error sets in atomic operations 2025-07-30 09:56:38 +01:00
zig_clang.cpp zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
zig_clang.h zig_clang: Fix ZigClangAPValue being underaligned vs clang::APValue. 2025-04-09 11:53:24 +02:00
zig_clang_cc1_main.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_clang_cc1as_main.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_clang_driver.cpp zig cc: Update driver files to Clang 20. 2025-04-04 06:08:09 +02:00
zig_llvm-ar.cpp compiler: Update LLVM/Clang driver files to LLVM/Clang 19. 2024-09-19 18:20:20 -07:00
zig_llvm.cpp llvm: Use emulated TLS when appropriate for the target 2025-07-07 07:23:24 +02:00
zig_llvm.h llvm: Use emulated TLS when appropriate for the target 2025-07-07 07:23:24 +02:00