| author | |
| committer | |
| log | 605311211b457d9c9a08d354c8fbe40257c4d649 |
| tree | fb0e9b136cb0283a472579bc20aa560090d997cb |
| parent | 744bb5d16a1acdabb7c078f7a1a30eefeac733cc |
1 files changed, 1 insertions(+), 1 deletions(-)
src/link/Wasm/Flush.zig+1-1| ... | ... | @@ -820,7 +820,7 @@ pub fn finish(f: *Flush, wasm: *Wasm) !void { |
| 820 | 820 | } |
| 821 | 821 | |
| 822 | 822 | // When the shared-memory option is enabled, we *must* emit the 'data count' section. |
| 823 | { | |
| 823 | if (f.data_segment_groups.items.len > 0) { | |
| 824 | 824 | const header_offset = try reserveVecSectionHeader(gpa, binary_bytes); |
| 825 | 825 | replaceVecSectionHeader(binary_bytes, header_offset, .data_count, @intCast(f.data_segment_groups.items.len)); |
| 826 | 826 | } |