-
Notifications
You must be signed in to change notification settings - Fork 402
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
Enforce version check on wasm lib #994
Comments
The only issue I see is that you can only build static binaries with muslc, which would probably require docker. |
The solution shown in https://github.com/public-awesome/stargaze/blob/2b06ae1cb8518dd19b128b65317da125efb9702d/cmd/starsd/cmd/start.go#L11-L22 is pretty cool. It does not differentiate between static libraries (which can be wrong by not updating the .a file in the builer docker) and shared libraries (which can be wrong when juggling with custom build systems). I only wonder about this duplication. The line
Any idea how to get the build system information into the .go file? |
You can use build info to get the version
|
when used used as dynamic lib.
Follow up from #988 (comment)
Would a
make build-linux
target with static compilation be a sufficient solution?The text was updated successfully, but these errors were encountered: