-
Notifications
You must be signed in to change notification settings - Fork 431
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
Fix #682 #686
Fix #682 #686
Conversation
Remove two exceptions/special cases
I also included the switch to run-time failure for WASM, as mentioned in #678 and #681. @newpavlov would you please review? |
This adds a new default feature, so this is a breaking change. This warrants increasing the Rand version to 0.7. |
Why is that a breaking change? Besides, this was added in 0.6.2; this is just documenting it better. BTW I had to push yet another fix to the changelog and prepare the next rand_os release (perhaps a new PR would have been better) |
@dhardy Adding a new default feature that gates existing functionality breaks builds with |
I don't believe this is a problem since it is implied by It's actually pointless as a feature flag since it is only usable exactly when |
I think you are right, this should be no problem. |
As a patch for v0.6 WASM issues looks good to me! Though I still strongly believe that |
#[cfg(all(feature = "wasm-bindgen", target_arch = "wasm32"))] | ||
#[doc(hidden)] | ||
#[allow(missing_debug_implementations)] | ||
pub mod __wbg_shims { |
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.
Does this module have to be public? Can't it be pub(crate)
?
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.
I don't know. The module isn't required at all for building and we don't have a running test-suite. However it's not referenced within the crate, so I don't think pub(crate)
is appropriate.
Ideally, yes, but in this that appears to be difficult, and likely not worth the effort of figuring out the problems other people have as a result. |
No description provided.