Skip to content

Make sure that CGO is not enabled when building in WASM mode#121

Merged
andydotxyz merged 2 commits intofyne-io:mainfrom
typenoob:wasm-with-cgo-enabled
Mar 9, 2026
Merged

Make sure that CGO is not enabled when building in WASM mode#121
andydotxyz merged 2 commits intofyne-io:mainfrom
typenoob:wasm-with-cgo-enabled

Conversation

@typenoob
Copy link
Copy Markdown
Contributor

@typenoob typenoob commented Mar 5, 2026

Fix #120
Pretty simple change.

Copy link
Copy Markdown
Member

@andydotxyz andydotxyz left a comment

Choose a reason for hiding this comment

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

Thank you for this. Apologies for my change request, but it helps to keep things neater for future maintenance.

Comment thread cmd/fyne/internal/commands/build.go Outdated
@typenoob typenoob force-pushed the wasm-with-cgo-enabled branch from 7c51fe2 to 1366d58 Compare March 6, 2026 00:50
@typenoob
Copy link
Copy Markdown
Contributor Author

typenoob commented Mar 6, 2026

Done @andydotxyz

@andydotxyz
Copy link
Copy Markdown
Member

Done @andydotxyz

Nice one. I think you didn't run tests though - looks like we need to correct the checks to include this new env

@typenoob
Copy link
Copy Markdown
Contributor Author

typenoob commented Mar 9, 2026

Sorry I missed that. I think it's all good now. @andydotxyz

@andydotxyz andydotxyz merged commit a275bf8 into fyne-io:main Mar 9, 2026
7 checks passed
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.

WASM packaging fails when CGO_ENABLED=1

2 participants