Skip to content
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

Prebuild files #10

Open
pjebs opened this issue Feb 8, 2025 · 1 comment
Open

Prebuild files #10

pjebs opened this issue Feb 8, 2025 · 1 comment
Labels
question Further information is requested

Comments

@pjebs
Copy link

pjebs commented Feb 8, 2025

@ccbrown I was wondering if you have instructions on how to prebuild those object files and also how to link them all together at the end?

@ccbrown
Copy link
Owner

ccbrown commented Feb 9, 2025

I haven't done this in several years, so I'm afraid all I can tell you is what's in the README: The files in ./prebuilt were produced by copying them from Go's cache after compiling anything for WASM.

I'm sure there's a much better way, and I can't guarantee what I did before would even still work, but I built something for WASM using GOOS=js GOARCH=wasm go build . and then hunted down the object files in the Go cache.

@ccbrown ccbrown added the question Further information is requested label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants