authorgravatar for luuk@degram.devLuuk de Gram <luuk@degram.dev> 2024-08-30 14:59:52+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-09-19 18:20:21-07:00
log3acf997692ddb1cbaeb448cc4c5fd3dbdc25f6a6
tree3ec2525f8ca6feeddad680f703415c4e6b70322c
parent0082475ddb128c27116634e72ffe70072b6476d1

link.Wasm.Feature: Update to mirror std.Target.wasm.


1 files changed, 4 insertions(+), 0 deletions(-)

src/link/Wasm/types.zig+4
...@@ -195,6 +195,7 @@ pub const Feature = struct {...@@ -195,6 +195,7 @@ pub const Feature = struct {
195 bulk_memory,195 bulk_memory,
196 exception_handling,196 exception_handling,
197 extended_const,197 extended_const,
198 half_precision,
198 multimemory,199 multimemory,
199 multivalue,200 multivalue,
200 mutable_globals,201 mutable_globals,
...@@ -219,6 +220,7 @@ pub const Feature = struct {...@@ -219,6 +220,7 @@ pub const Feature = struct {
219 .bulk_memory => "bulk-memory",220 .bulk_memory => "bulk-memory",
220 .exception_handling => "exception-handling",221 .exception_handling => "exception-handling",
221 .extended_const => "extended-const",222 .extended_const => "extended-const",
223 .half_precision => "half-precision",
222 .multimemory => "multimemory",224 .multimemory => "multimemory",
223 .multivalue => "multivalue",225 .multivalue => "multivalue",
224 .mutable_globals => "mutable-globals",226 .mutable_globals => "mutable-globals",
...@@ -251,6 +253,8 @@ pub const known_features = std.StaticStringMap(Feature.Tag).initComptime(.{...@@ -251,6 +253,8 @@ pub const known_features = std.StaticStringMap(Feature.Tag).initComptime(.{
251 .{ "bulk-memory", .bulk_memory },253 .{ "bulk-memory", .bulk_memory },
252 .{ "exception-handling", .exception_handling },254 .{ "exception-handling", .exception_handling },
253 .{ "extended-const", .extended_const },255 .{ "extended-const", .extended_const },
256 .{ "half-precision", .half_precision },
257 .{ "multimemory", .multimemory },
254 .{ "multivalue", .multivalue },258 .{ "multivalue", .multivalue },
255 .{ "mutable-globals", .mutable_globals },259 .{ "mutable-globals", .mutable_globals },
256 .{ "nontrapping-fptoint", .nontrapping_fptoint },260 .{ "nontrapping-fptoint", .nontrapping_fptoint },