aboutsummaryrefslogtreecommitdiff
path: root/src/bundler.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-04 15:35:08 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-10-04 15:35:08 -0700
commite8dab9bfcf4b7822253eaf290cf2f72291b39167 (patch)
tree815f39bcf9e7591b0076a87bbcaa981bd812a68c /src/bundler.zig
parentdc3eee44a928239524133177740addcb14b1b0a4 (diff)
downloadbun-e8dab9bfcf4b7822253eaf290cf2f72291b39167.tar.gz
bun-e8dab9bfcf4b7822253eaf290cf2f72291b39167.tar.zst
bun-e8dab9bfcf4b7822253eaf290cf2f72291b39167.zip
Fix moving files across mount points
Diffstat (limited to 'src/bundler.zig')
-rw-r--r--src/bundler.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bundler.zig b/src/bundler.zig
index d1b530c82..472b8bd9f 100644
--- a/src/bundler.zig
+++ b/src/bundler.zig
@@ -1112,7 +1112,7 @@ pub const Bundler = struct {
// chmod 777
0000010 | 0000100 | 0000001 | 0001000 | 0000040 | 0000004 | 0000002 | 0000400 | 0000200 | 0000020,
);
- try std.os.renameatZ(tmpdir.fd, tmpname, top_dir.fd, destination);
+ try C.moveFileZ(tmpdir.fd, tmpname, top_dir.fd, destination);
// Print any errors at the end
// try this.log.print(Output.errorWriter());
return javascript_bundle_container;