mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +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
|
options.PrintCommands = printCommand
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compatibility with legacy -target=wasi
|
|
||||||
if options.Target == "wasi" {
|
|
||||||
options.Target = "wasip1"
|
|
||||||
}
|
|
||||||
|
|
||||||
err = options.Verify()
|
err = options.Verify()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintln(os.Stderr, err.Error())
|
fmt.Fprintln(os.Stderr, err.Error())
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"inherits": ["wasip1"]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user