diff options
author | 2022-01-22 19:39:23 -0800 | |
---|---|---|
committer | 2022-01-22 19:39:23 -0800 | |
commit | dc5745080d057a73ac8052a40c8950e8c7a8b51c (patch) | |
tree | eadf1f2c9516f1b920a112fcd0f9ba2c284cf422 /src/linker.zig | |
parent | 3dfac788fa5bed6fd8438515084d883c876e6a85 (diff) | |
download | bun-dc5745080d057a73ac8052a40c8950e8c7a8b51c.tar.gz bun-dc5745080d057a73ac8052a40c8950e8c7a8b51c.tar.zst bun-dc5745080d057a73ac8052a40c8950e8c7a8b51c.zip |
Ensure we fully copy strings
Diffstat (limited to 'src/linker.zig')
-rw-r--r-- | src/linker.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker.zig b/src/linker.zig index cc4080f79..b9bbe62e9 100644 --- a/src/linker.zig +++ b/src/linker.zig @@ -454,7 +454,7 @@ pub const Linker = struct { // We _assume_ you're importing ESM. // But, that assumption can be wrong without parsing code of the imports. // That's where in here, we inject - // > import {require} from 'bun:runtime'; + // > import {require} from 'bun:wrap'; // Since they definitely aren't using require, we don't have to worry about the symbol being renamed. if (needs_require and !result.ast.uses_require_ref) { result.ast.uses_require_ref = true; |