aboutsummaryrefslogtreecommitdiff
path: root/src/linker.zig
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-30 15:41:27 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-05-30 15:41:27 -0700
commit148c6e7551f5b8af267dbe37a9275f720b3b93e8 (patch)
treee0b5daef897a7fdc16dedc0553d634db783eae69 /src/linker.zig
parentb0c38a3c1583134d4632783c207f02c9bab28782 (diff)
downloadbun-148c6e7551f5b8af267dbe37a9275f720b3b93e8.tar.gz
bun-148c6e7551f5b8af267dbe37a9275f720b3b93e8.tar.zst
bun-148c6e7551f5b8af267dbe37a9275f720b3b93e8.zip
Fix wasi
Diffstat (limited to 'src/linker.zig')
-rw-r--r--src/linker.zig6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/linker.zig b/src/linker.zig
index ca57e2f85..a2f1dab71 100644
--- a/src/linker.zig
+++ b/src/linker.zig
@@ -1016,10 +1016,8 @@ pub const Linker = struct {
.napi => {
import_record.print_mode = .napi_module;
},
- .wasm => {
- import_record.print_mode = .import_path;
- },
- .file => {
+
+ .wasm, .file => {
// if we're building for web/node, always print as import path
// if we're building for bun