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
{{ message }}
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.
Ran into a little snag trying it out. Looks like the swiftwasm script doesn't support passing in multiple swift files and I get an error about an invalid module name.
$ ./swiftwasm file1.swift file2.swift output.wasm
<unknown>:0: error: module name "swiftwasm-XXXXXXXX" is not a valid identifier; use -module-name flag to specify an alternate name
Haven't look much further into the issue yet. I'll keep tinkering but would love any insights.
The text was updated successfully, but these errors were encountered:
kverrier
changed the title
swiftwasm script fails for more than one swift file
swiftwasm script fails for more than one swift file
Jun 12, 2019
No luck with that flag 😢 ... Looks like swiftc doesn't like -o when generating multiple files. Makes sense since this is outputting multiple object files:
Super cool project @zhuowei !
Ran into a little snag trying it out. Looks like the swiftwasm script doesn't support passing in multiple swift files and I get an error about an invalid module name.
Haven't look much further into the issue yet. I'll keep tinkering but would love any insights.
The text was updated successfully, but these errors were encountered: