diff options
author | 2023-08-28 04:53:51 -0700 | |
---|---|---|
committer | 2023-08-28 04:53:51 -0700 | |
commit | ebfaa682f761aac3d0c3c6d6ec1bbf4831d86ea4 (patch) | |
tree | a4f87cb0b8669a8ca3e85a7e544c421b529f211f /src/bun.js/rare_data.zig | |
parent | 277e5c0b77fff14b090d9c2981ac0b372d7a7f77 (diff) | |
download | bun-ebfaa682f761aac3d0c3c6d6ec1bbf4831d86ea4.tar.gz bun-ebfaa682f761aac3d0c3c6d6ec1bbf4831d86ea4.tar.zst bun-ebfaa682f761aac3d0c3c6d6ec1bbf4831d86ea4.zip |
More renaming
Diffstat (limited to 'src/bun.js/rare_data.zig')
-rw-r--r-- | src/bun.js/rare_data.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bun.js/rare_data.zig b/src/bun.js/rare_data.zig index 30adeabe3..af2b90f3b 100644 --- a/src/bun.js/rare_data.zig +++ b/src/bun.js/rare_data.zig @@ -3,7 +3,7 @@ const Blob = JSC.WebCore.Blob; const default_allocator = @import("root").bun.default_allocator; const Output = @import("root").bun.Output; const RareData = @This(); -const Syscall = @import("./node/syscall.zig"); +const Syscall = bun.sys; const JSC = @import("root").bun.JSC; const std = @import("std"); const BoringSSL = @import("root").bun.BoringSSL; @@ -224,7 +224,7 @@ pub fn boringEngine(rare: *RareData) *BoringSSL.ENGINE { pub fn stderr(rare: *RareData) *Blob.Store { return rare.stderr_store orelse brk: { var store = default_allocator.create(Blob.Store) catch unreachable; - var mode: JSC.Node.Mode = 0; + var mode: bun.Mode = 0; switch (Syscall.fstat(bun.STDERR_FD)) { .result => |stat| { mode = stat.mode; @@ -254,7 +254,7 @@ pub fn stderr(rare: *RareData) *Blob.Store { pub fn stdout(rare: *RareData) *Blob.Store { return rare.stdout_store orelse brk: { var store = default_allocator.create(Blob.Store) catch unreachable; - var mode: JSC.Node.Mode = 0; + var mode: bun.Mode = 0; switch (Syscall.fstat(bun.STDOUT_FD)) { .result => |stat| { mode = stat.mode; @@ -282,7 +282,7 @@ pub fn stdout(rare: *RareData) *Blob.Store { pub fn stdin(rare: *RareData) *Blob.Store { return rare.stdin_store orelse brk: { var store = default_allocator.create(Blob.Store) catch unreachable; - var mode: JSC.Node.Mode = 0; + var mode: bun.Mode = 0; switch (Syscall.fstat(bun.STDIN_FD)) { .result => |stat| { mode = stat.mode; |