mirror of
https://github.com/ziglang/zig.git
synced 2026-02-06 06:27:05 +00:00
link.Wasm.Feature: Update to mirror std.Target.wasm.
This commit is contained in:
parent
0082475ddb
commit
3acf997692
@ -195,6 +195,7 @@ pub const Feature = struct {
|
||||
bulk_memory,
|
||||
exception_handling,
|
||||
extended_const,
|
||||
half_precision,
|
||||
multimemory,
|
||||
multivalue,
|
||||
mutable_globals,
|
||||
@ -219,6 +220,7 @@ pub const Feature = struct {
|
||||
.bulk_memory => "bulk-memory",
|
||||
.exception_handling => "exception-handling",
|
||||
.extended_const => "extended-const",
|
||||
.half_precision => "half-precision",
|
||||
.multimemory => "multimemory",
|
||||
.multivalue => "multivalue",
|
||||
.mutable_globals => "mutable-globals",
|
||||
@ -251,6 +253,8 @@ pub const known_features = std.StaticStringMap(Feature.Tag).initComptime(.{
|
||||
.{ "bulk-memory", .bulk_memory },
|
||||
.{ "exception-handling", .exception_handling },
|
||||
.{ "extended-const", .extended_const },
|
||||
.{ "half-precision", .half_precision },
|
||||
.{ "multimemory", .multimemory },
|
||||
.{ "multivalue", .multivalue },
|
||||
.{ "mutable-globals", .mutable_globals },
|
||||
.{ "nontrapping-fptoint", .nontrapping_fptoint },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user