We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4170e0 commit 2c1b579Copy full SHA for 2c1b579
1 file changed
crates/go/src/lib.rs
@@ -956,6 +956,14 @@ import (
956
.as_bytes(),
957
),
958
);
959
+
960
+ files.push(
961
+ &format!("{prefix}{name}/empty.s"),
962
+ r#"// This file exists for testing this package without WebAssembly,
963
+// allowing empty function bodies with a //go:wasmimport directive.
964
+// See https://pkg.go.dev/cmd/compile for more information."#
965
+ .as_bytes(),
966
+ );
967
}
968
969
0 commit comments