-
Notifications
You must be signed in to change notification settings - Fork 220
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
Make it possible to disable parallel feature #495
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Massive work, thank you. As mentioned before in the wasm issue, the proper solution would be threading support in wasm, but this works for now. Could you try to put some of the parallel code into a separate module so we don't need cfgs all over the place?
Does wasm support threading at all? |
Well, not "enough" yet. There are some experimental things supported only
in Chrome I believe, but for the most part it's currently unsupported.
On Oct 18, 2018 16:07, "Zakarum" <notifications@github.com> wrote:
threading support in wasm
Does wasm support threading at all?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#495 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWFFuYlelDxVwUT7T4IOy86lb9BFLvCDks5umIsMgaJpZM4XtdOv>
.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!
bors r+
495: Make it possible to disable parallel feature r=Xaeroxe a=omni-viral This makes it possible to user specs in wasm environment <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/slide-rs/specs/495) <!-- Reviewable:end --> Co-authored-by: Zakarum <scareaangel@gmail.com>
Oh just re-read @torkleyy 's comment my bad bors r- |
Canceled |
Without making code super-inconsistent I managed to reduce amount of |
Go ahead and r+ if you're happy with it @torkleyy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the module.
- did somebody confirm this actually works on wasm now?
- sbould we care abouz CI coverage? (probably yes)
- Please bump the version so I can release.
Wow. *should we care about |
I confirm it works with wasm now |
Minor since new feature is first default feature.
I can confirm this works. I tried out @omni-viral's branch with the same code that wasn't working before this PR and now it works. |
Great, thanks! bors r+ |
495: Make it possible to disable parallel feature r=torkleyy a=omni-viral This makes it possible to user specs in wasm environment <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/slide-rs/specs/495) <!-- Reviewable:end --> Co-authored-by: Zakarum <scareaangel@gmail.com>
Build succeeded |
This makes it possible to user specs in wasm environment
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)