updated vendor

This commit is contained in:
2026-06-16 08:02:19 +02:00
parent 2f7f99d3f0
commit 77299d0c64
1283 changed files with 67302 additions and 208958 deletions
+14
View File
@@ -209,6 +209,20 @@ func featureName(f CoreFeatures) string {
case CoreFeatureSIMD:
// match https://github.com/WebAssembly/spec/blob/wg-2.0.draft1/proposals/simd/SIMD.md
return "simd"
// The cases below cover features defined in the experimental package
// (experimental.CoreFeaturesThreads, CoreFeaturesTailCall,
// experimental.CoreFeaturesExtendedConst, experimental.CoreFeaturesExceptionHandling).
// They cannot be imported here (circular dependency), so we match by value.
case CoreFeatureSIMD << 1: // experimental.CoreFeaturesThreads
return "threads"
case CoreFeatureSIMD << 2: // experimental.CoreFeaturesTailCall
return "tail-call"
case CoreFeatureSIMD << 3: // experimental.CoreFeaturesExtendedConst
return "extended-const"
case CoreFeatureSIMD << 4: // experimental.CoreFeaturesExceptionHandling
return "exception-handling"
case CoreFeatureSIMD << 5: // experimental.CoreFeaturesTypedFunctionReferences
return "typed-function-references"
}
return ""
}