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
Using from.std.*
errors out when compiling to WebAssembly
#4
Comments
Thanks for the heads up! 🙇 |
@skoppe what's the status on your PRs. As a work around we could have bolts not use "from" for std packages if it's causing problems. |
The pr's aren't quite there yet. I first want to experiment with them some more. I am still using Last 2 weeks I had to focus on some other things, but I hope to continue working on the PR's this week. Since there aren't many people using |
Just made a pull request #5 to replace std.from with bare imports. The pr's for phobos are going to take a little longer and I really want to update spasm to the latest version. |
When using
from.std.xxx
the from template does aimport std;
. Thestd/package.d
publicly imports whole of phobos. Thesystem.d
module from phobos - which is unaware of WebAssembly - errors out withError: static assert: "Unknown OS."
.Now, this is actually an issue with phobos. But I am just posting it here so that you are aware of the issue.
I have PR's ready for druntime and phobos to support WebAssembly, which will resolve this issue. But it is going to take some time.
The text was updated successfully, but these errors were encountered: