aboutsummaryrefslogtreecommitdiff
path: root/src/linker.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/linker.zig')
-rw-r--r--src/linker.zig5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/linker.zig b/src/linker.zig
index f2698b622..6111f3c1c 100644
--- a/src/linker.zig
+++ b/src/linker.zig
@@ -298,9 +298,8 @@ pub const Linker = struct {
if (import_record.path.text.len > 4 and strings.eqlComptimeIgnoreLen(import_record.path.text[0.."bun:".len], "bun:")) {
import_record.path = Fs.Path.init(import_record.path.text["bun:".len..]);
import_record.path.namespace = "bun";
- if (strings.eqlComptime(import_record.path.text, "ffi")) {
- import_record.path.text = "bun:ffi";
- } else if (strings.eqlComptime(import_record.path.text, "test")) {
+
+ if (strings.eqlComptime(import_record.path.text, "test")) {
import_record.tag = .bun_test;
}