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

Please elaborate on installation instructions for unsupported platforms #184

Open
bsiegert opened this issue Jul 30, 2023 · 1 comment
Open

Comments

@bsiegert
Copy link

The README says:

Building on other platforms will need to arrange to build Wasmtime and use CGO_* env vars to compile correctly.

Can you please elaborate on which environment variables and how to build wasmtime?

I am trying to package something depending on wasmtime-go in pkgsrc. We support many more platforms than you have precompiled binaries for, so I would like to always build wasmtime from source.

@alexcrichton
Copy link
Member

I believe you need to set CGO_LDFLAGS with -L to where the library lives, but I've not done this before myself so I'm not sure. I forget what I meant when I wrote that in the README, though, sorry.

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

No branches or pull requests

2 participants