diff options
| author | 2022-01-22 19:17:03 -0800 | |
|---|---|---|
| committer | 2022-01-22 19:17:03 -0800 | |
| commit | c56ff7efb493a9e8f5b301a3d235079c11c59c0f (patch) | |
| tree | d261466adf3b975e37a39f352163e1ef54b17632 /src/linker.zig | |
| parent | 114c5609128eb510406bac5157a3708a32078124 (diff) | |
| download | bun-c56ff7efb493a9e8f5b301a3d235079c11c59c0f.tar.gz bun-c56ff7efb493a9e8f5b301a3d235079c11c59c0f.tar.zst bun-c56ff7efb493a9e8f5b301a3d235079c11c59c0f.zip | |
Rename `bun:runtime` -> `bun:wrap` so it fits 8 chars
Diffstat (limited to '')
| -rw-r--r-- | src/linker.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linker.zig b/src/linker.zig index 33e1b5336..cc4080f79 100644 --- a/src/linker.zig +++ b/src/linker.zig @@ -227,7 +227,7 @@ pub const Linker = struct { result.ast.runtime_import_record_id = record_index; } else { if (import_path_format == .absolute_url) { - import_record.path = Fs.Path.initWithNamespace(try origin.joinAlloc(linker.allocator, "", "", "bun:runtime", "", ""), "bun"); + import_record.path = Fs.Path.initWithNamespace(try origin.joinAlloc(linker.allocator, "", "", "bun:wrap", "", ""), "bun"); } else { import_record.path = try linker.generateImportPath( source_dir, @@ -441,7 +441,7 @@ pub const Linker = struct { .path = if (linker.options.node_modules_bundle != null) Fs.Path.init(node_module_bundle_import_path orelse linker.nodeModuleBundleImportPath(origin)) else if (import_path_format == .absolute_url) - Fs.Path.initWithNamespace(try origin.joinAlloc(linker.allocator, "", "", "bun:runtime", "", ""), "bun") + Fs.Path.initWithNamespace(try origin.joinAlloc(linker.allocator, "", "", "bun:wrap", "", ""), "bun") else try linker.generateImportPath(source_dir, Linker.runtime_source_path, false, "bun", origin, import_path_format), |
