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

global variable initialization isn't allow with throw in swift6 compiler - adds boilerplate main() around the examples showing use of WasmKit #114

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

heckj
Copy link
Contributor

@heckj heckj commented Aug 7, 2024

I was exploring WasmKit this morning with Xcode 16 beta 5 (Swift 6 compiler), and none of the examples would compile smoothly there. I thought this PR would resolve this for others trying to do the same.

…ler - adds boilerplate main() around the examples showing use of WasmKit
Copy link
Member

@kateinoigakukun kateinoigakukun left a comment

Choose a reason for hiding this comment

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

Thanks @heckj 😸

Examples/Sources/Factorial/Factorial.swift Outdated Show resolved Hide resolved
Examples/Sources/PrintAdd/PrintAdd.swift Outdated Show resolved Hide resolved
Examples/Sources/WASI-Hello/Hello.swift Outdated Show resolved Hide resolved
@kateinoigakukun kateinoigakukun merged commit faab359 into swiftwasm:main Aug 7, 2024
7 checks passed
@heckj heckj deleted the swift6compile-examples branch August 7, 2024 18:07
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.

2 participants