aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2025-06-18 10:59:09 -0400
committerAndrew Kelley <andrew@ziglang.org>2025-07-22 19:43:47 -0700
commit5060ab99c94dd8afc8b84e74fe4d050c88cdfc0a (patch)
treecbf778a4b590aee34366bb5fc00091d5d60c2d72 /lib/std/fs
parenta023b9b22b6593ebd5a86736a4a9955840d1bfa1 (diff)
downloadzig-5060ab99c94dd8afc8b84e74fe4d050c88cdfc0a.tar.gz
zig-5060ab99c94dd8afc8b84e74fe4d050c88cdfc0a.zip
aarch64: add new from scratch self-hosted backend
Diffstat (limited to 'lib/std/fs')
-rw-r--r--lib/std/fs/File.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/std/fs/File.zig b/lib/std/fs/File.zig
index 138807972e..39111f634d 100644
--- a/lib/std/fs/File.zig
+++ b/lib/std/fs/File.zig
@@ -1554,7 +1554,10 @@ pub const Writer = struct {
return .{
.vtable = &.{
.drain = drain,
- .sendFile = sendFile,
+ .sendFile = switch (builtin.zig_backend) {
+ else => sendFile,
+ .stage2_aarch64 => std.io.Writer.unimplementedSendFile,
+ },
},
.buffer = buffer,
};