ref: 97550e61887e32b9e4c87e5315f5fe3ef21ef508
parent: d56b73e947b256be7d2da8c2b0d199a405d1dcf0
author: Skyrbunny <[email protected]>
date: Fri Jun 30 17:41:49 EDT 2023
going to publish on github
--- /dev/null
+++ b/.gitignore
@@ -1,0 +1,1 @@
+ricket
binary files a/ricket /dev/null differ
--- a/ricket.go
+++ b/ricket.go
@@ -12,6 +12,11 @@
)
func main() {
+ // Check for arguments
+ if len(os.Args) < 2 {
+ log.Panicf("No path to WASM file.")
+ }
+
ctx := context.Background()
// Instantiate runtime