Alexhuszagh / rust-lexical

Fast numeric to- and from-string conversion routines.
Other
298 stars 37 forks source link

[BUG] Compilation Fails on Latest Nightly #55

Closed HTGAzureX1212 closed 3 years ago

HTGAzureX1212 commented 3 years ago

Description

When building the crate with the latest nightly, the compilation fails with 27 errors.

Prerequisites

All of them are E0308 and E0277

HTGAzureX1212 commented 3 years ago

The compilation works on the nightly build on 2021-01-31.

thomaseizinger commented 3 years ago

Here is an example build: https://github.com/testcontainers/testcontainers-rs/runs/1811323780?check_suite_focus=true

HTGAzureX1212 commented 3 years ago

It looks like <integer>::BITS has been stabilized in the standard library, therefore that Limb::BITS resolved into a u32 instead of usize.

astraw commented 3 years ago

Looks like rust nightly will revert the change until lexical-core can implement a suitable fix.

rainliu commented 3 years ago

Got the same error in https://github.com/webrtc-rs/ice/runs/1836585080