-
Notifications
You must be signed in to change notification settings - Fork 0
Stevenmasley/wasm #71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
||
site/public/build/preview.wasm: $(GO_SRC_FILES) | ||
GOOS=js GOARCH=wasm go build -o site/public/build/preview.wasm ./cmd/wasm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a trailing newline to appease github (and me) pls
|
||
func main() { | ||
// Create a channel to keep the Go program alive | ||
done := make(chan struct{}, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done := make(chan struct{}, 0) | |
done := make(chan struct{}) |
it's fine for unbuffered to be implied imo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey this is a draft for a reason!
To be 100% transparent, this was almost all written by cursor lol
# wasm | ||
public/build/preview.wasm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# wasm | |
public/build/preview.wasm | |
# build artifacts | |
public/build/ |
@@ -6,7 +6,7 @@ | |||
<link href="/src/index.css" rel="stylesheet"> | |||
<title>Conditional Parameters</title> | |||
</head> | |||
<body> | |||
<body> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👻
No description provided.