-
Couldn't load subscription status.
- Fork 236
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Currently the "custom" feature is last in our precedence order for selecting implementations. The original idea behind this was to ensure that a crate couldn't (accidentally or intentionally) change the RNG source for a program.
Sometimes folks are targeting wasm32-unknown-unknown, bu they are not targeting the web, but their deps are enabling the js feature. #342 CC: @nickray
I would propose the following new precedence order:
- If on a supported target, use the standard implementation
- If
customfeature is enabled, use the custom implementation - If on
wasm32-unknown-unknownandjsis enabled, use thewasm-bindgenimplementation.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request