Skip to content

Commit 4a0b037

Browse files
xReveresLuukdegram
authored andcommitted
wasm: correct shared memory error text
1 parent fb7cde3 commit 4a0b037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2020,7 +2020,7 @@ fn buildOutputType(
20202020
if (!target_info.target.cpu.features.isEnabled(@enumToInt(std.Target.wasm.Feature.atomics)) or
20212021
!target_info.target.cpu.features.isEnabled(@enumToInt(std.Target.wasm.Feature.bulk_memory)))
20222022
{
2023-
fatal("'atomics' and 'bulk-memory' features must be used in order to use shared memory", .{});
2023+
fatal("'atomics' and 'bulk-memory' features must be enabled to use shared memory", .{});
20242024
}
20252025
}
20262026

0 commit comments

Comments
 (0)