Skip to content

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Stevenmasley/wasm #71

wants to merge 6 commits into from

Conversation

Emyrk
Copy link
Member

@Emyrk Emyrk commented Apr 9, 2025

No description provided.


site/public/build/preview.wasm: $(GO_SRC_FILES)
GOOS=js GOARCH=wasm go build -o site/public/build/preview.wasm ./cmd/wasm
Copy link
Member

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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
done := make(chan struct{}, 0)
done := make(chan struct{})

it's fine for unbuffered to be implied imo

Copy link
Member Author

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

Comment on lines +26 to +27
# wasm
public/build/preview.wasm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# 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>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants