targets: add wasi.json that inherits wasip1.json

PR feedback
This commit is contained in:
Randy Reddig
2024-03-05 08:54:22 -08:00
committed by Ron Evans
parent 8bd0155c51
commit cfcc894855
2 changed files with 3 additions and 5 deletions
-5
View File
@@ -1548,11 +1548,6 @@ func main() {
options.PrintCommands = printCommand
}
// Compatibility with legacy -target=wasi
if options.Target == "wasi" {
options.Target = "wasip1"
}
err = options.Verify()
if err != nil {
fmt.Fprintln(os.Stderr, err.Error())
+3
View File
@@ -0,0 +1,3 @@
{
"inherits": ["wasip1"]
}