You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is currently a limitation though thanks for the heads up on sqlite3. This is a recent addition and worth fixing.
Lurking behind this issue is that Bud's production version embeds V8 so it can perform SSR efficiently. V8 depends on CGO. I plan to provide more options to bring back cross-compilation in the future.
In the meantime to do cross-compilation, I'd suggest running bud build within a Linux docker. The contributing guide has an example Docker container. You could also go with xgo which is what I use to compile Bud.
If I run
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 bud build
, got an error:but run
bud build
will build successfully.❯ bud version
bud: 0.2.7
svelte: 3.47.0
react: 18.0.0
The text was updated successfully, but these errors were encountered: