github.com/tinygo-org/tinygo@v0.31.3-0.20240404173401-90b0bf646c27/targets/wasip1.json (about)

     1  {
     2  	"llvm-target":   "wasm32-unknown-wasi",
     3  	"cpu":           "generic",
     4  	"features":      "+bulk-memory,+mutable-globals,+nontrapping-fptoint,+sign-ext",
     5  	"build-tags":    ["tinygo.wasm"],
     6  	"goos":          "wasip1",
     7  	"goarch":        "wasm",
     8  	"linker":        "wasm-ld",
     9  	"libc":          "wasi-libc",
    10  	"rtlib":         "compiler-rt",
    11  	"scheduler":     "asyncify",
    12  	"default-stack-size": 65536,
    13  	"cflags": [
    14  		"-mbulk-memory",
    15  		"-mnontrapping-fptoint",
    16  		"-msign-ext"
    17  	],
    18  	"ldflags": [
    19  		"--stack-first",
    20  		"--no-demangle"
    21  	],
    22  	"extra-files": [
    23  		"src/runtime/asm_tinygowasm.S"
    24  	],
    25  	"emulator":      "wasmtime --dir={tmpDir}::/tmp {}"
    26  }