Skip to content

Fix build errors on nightly (alloc crate changes) - #545

Merged
dhardy merged 2 commits into
rust-random:masterfrom
dhardy:nightly
Jul 11, 2018
Merged

Fix build errors on nightly (alloc crate changes)#545
dhardy merged 2 commits into
rust-random:masterfrom
dhardy:nightly

Conversation

@dhardy

Copy link
Copy Markdown
Member

No description provided.

@dhardy

Copy link
Copy Markdown
MemberAuthor

Aside from the import syntax not working on older compilers, it seems from_bits was not available in libcore before 1.25.0 (strangely, the CI test doesn't seem to pick this up, but local builds do).

Is it time to increase the minimum compiler version? It would fix these two issues.

@dhardy

Copy link
Copy Markdown
MemberAuthor

No, raising the version to 1.25.0 does not fix this (see rust-lang/rust#46931 (comment)).

@dhardy
dhardy merged commit 74c68bf into rust-random:masterJul 11, 2018
@dhardy
dhardy deleted the nightly branch July 11, 2018 09:57
@dhardydhardy mentioned this pull request Jul 12, 2018
Sign up for freeto 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.

1 participant

@dhardy