aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/module_loader.zig
diff options
context:
space:
mode:
authorGravatar Ashcon Partovi <ashcon@partovi.net> 2023-07-05 13:16:10 -0700
committerGravatar Ashcon Partovi <ashcon@partovi.net> 2023-07-05 13:21:04 -0700
commit17bacd85f981180b1bf82515dfafafcada661fd7 (patch)
tree9b2ac8b6b4342c5becc541d4af8074af0afbd8c9 /src/bun.js/module_loader.zig
parentf61d9ef4761444d0550aea90b2656727d41ce1fa (diff)
downloadbun-17bacd85f981180b1bf82515dfafafcada661fd7.tar.gz
bun-17bacd85f981180b1bf82515dfafafcada661fd7.tar.zst
bun-17bacd85f981180b1bf82515dfafafcada661fd7.zip
Fix detect-libc
Diffstat (limited to 'src/bun.js/module_loader.zig')
-rw-r--r--src/bun.js/module_loader.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig
index e7e4d700e..2f3f7492b 100644
--- a/src/bun.js/module_loader.zig
+++ b/src/bun.js/module_loader.zig
@@ -1868,7 +1868,7 @@ pub const ModuleLoader = struct {
.@"node:wasi" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:wasi", "node/wasi.js", specifier),
.@"node:zlib" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"node:zlib", "node/zlib.js", specifier),
- .@"detect-libc" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"detect-libc", if (Environment.isLinux) "thirdparty/detect-libc.linux.js" else "thirdparty/detect-libc.js", specifier),
+ .@"detect-libc" => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .@"detect-libc", "thirdparty/detect-libc.js", specifier),
.undici => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .undici, "thirdparty/undici.js", specifier),
.ws => return jsResolvedSource(jsc_vm, jsc_vm.load_builtins_from_path, .ws, "thirdparty/ws.js", specifier),