mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
[bun.js] Bun.write for macOS
This commit is contained in:
@@ -328,7 +328,7 @@ pub fn copyfile(from: [:0]const u8, to: [:0]const u8, flags: c_int) Maybe(void)
|
||||
unreachable;
|
||||
}
|
||||
|
||||
pub fn fcopyfile(fd_in: std.os.fd_t, fd_out: std.os.fd_t, flags: c_int) Maybe(void) {
|
||||
pub fn fcopyfile(fd_in: std.os.fd_t, fd_out: std.os.fd_t, flags: u32) Maybe(void) {
|
||||
if (comptime !Environment.isMac) @compileError("macOS only");
|
||||
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user