We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc6ce67 + 9b68cd8 commit ce70c1bCopy full SHA for ce70c1b
test-cross-compile/main.swift
@@ -0,0 +1 @@
1
+func foo() {}
test-cross-compile/test-compile-wasm.test
@@ -0,0 +1,6 @@
+RUN: rm -rf %t
2
+RUN: mkdir -p %t
3
+RUN: %{swiftc} -target wasm32-unknown-wasi -parse-stdlib -c %S/main.swift -o %t/main.o
4
+RUN: file %t/main.o | %{FileCheck} %s
5
+
6
+CHECK: WebAssembly (wasm) binary module version 0x1 (MVP)
0 commit comments