Remove a memcpy (#20261)

Co-authored-by: Jarred-Sumner <709451+Jarred-Sumner@users.noreply.github.com>
This commit is contained in:
Jarred Sumner
2025-06-08 05:07:09 -07:00
committed by GitHub
parent 02a7d71b70
commit 498186764a
41 changed files with 283 additions and 297 deletions

View File

@@ -1146,7 +1146,7 @@ pub fn appendSourceMapChunk(j: *StringJoiner, allocator: std.mem.Allocator, prev
pub fn appendSourceMappingURLRemote(
origin: URL,
source: Logger.Source,
source: *const Logger.Source,
asset_prefix_path: []const u8,
comptime Writer: type,
writer: Writer,
@@ -1228,7 +1228,7 @@ pub const Chunk = struct {
pub fn printSourceMapContents(
chunk: Chunk,
source: Logger.Source,
source: *const Logger.Source,
mutable: MutableString,
include_sources_contents: bool,
comptime ascii_only: bool,
@@ -1245,7 +1245,7 @@ pub const Chunk = struct {
pub fn printSourceMapContentsAtOffset(
chunk: Chunk,
source: Logger.Source,
source: *const Logger.Source,
mutable: MutableString,
include_sources_contents: bool,
offset: usize,