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 {
195195 bulk_memory,
196196 exception_handling,
197197 extended_const,
198 half_precision,
198199 multimemory,
199200 multivalue,
200201 mutable_globals,
......@@ -219,6 +220,7 @@ pub const Feature = struct {
219220 .bulk_memory => "bulk-memory",
220221 .exception_handling => "exception-handling",
221222 .extended_const => "extended-const",
223 .half_precision => "half-precision",
222224 .multimemory => "multimemory",
223225 .multivalue => "multivalue",
224226 .mutable_globals => "mutable-globals",
......@@ -251,6 +253,8 @@ pub const known_features = std.StaticStringMap(Feature.Tag).initComptime(.{
251253 .{ "bulk-memory", .bulk_memory },
252254 .{ "exception-handling", .exception_handling },
253255 .{ "extended-const", .extended_const },
256 .{ "half-precision", .half_precision },
257 .{ "multimemory", .multimemory },
254258 .{ "multivalue", .multivalue },
255259 .{ "mutable-globals", .mutable_globals },
256260 .{ "nontrapping-fptoint", .nontrapping_fptoint },