Skip to content

Fix Cargo features / dependencies#676

Merged
dhardy merged 2 commits into
rust-random:masterfrom
dhardy:master
Jan 4, 2019
Merged

Fix Cargo features / dependencies#676
dhardy merged 2 commits into
rust-random:masterfrom
dhardy:master

Conversation

@dhardy

@dhardy dhardy commented Jan 4, 2019

Copy link
Copy Markdown
Member

Fixes #674 and #675

I'm looking at improving the WASM integration testing, but that can be a separate PR.

@dhardy dhardy merged commit ca96671 into rust-random:master Jan 4, 2019
@tomaka

tomaka commented Jan 4, 2019

Copy link
Copy Markdown

Shouldn't one of the two features be enabled by default?
Right now builds will still break, as people would have to add a manual feature to their Cargo.toml.

@dhardy

dhardy commented Jan 4, 2019

Copy link
Copy Markdown
Member Author

Both are.

Oh, you're talking about WASM? That's another discussion, and no change since 0.6 (or even 0.5?). A reasonable idea but a new topic — I'm also trying to improve the tests for WASM.

@tomaka

tomaka commented Jan 4, 2019

Copy link
Copy Markdown

What I mean is that if you create a dummy project, add rand = "0.6" to your Cargo.toml, and try to compile for WASM, you will still get the compile_error! that this PR fixes.
In other words, it is still breaking compared to rand v0.6.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants