mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
targets: add wasi.json that inherits wasip1.json
PR feedback
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"inherits": ["wasip1"]
|
||||
}
|
||||
Reference in New Issue
Block a user