Skip to content
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

rust: use explicitily Integer::div_ceil #219

Merged
merged 4 commits into from
Sep 3, 2021
Merged

Conversation

catenacyber
Copy link
Contributor

@catenacyber
Copy link
Contributor Author

Would it then be possible to cherry-pick this for the version 0.3 as well ?

Copy link
Member

@cuviper cuviper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix! If you're able to quickly tweak the shadowed names, that would be great, or else I can do it myself. And yes, I can backport and publish for 0.3.x too.

src/biguint/convert.rs Outdated Show resolved Hide resolved
src/biguint/convert.rs Outdated Show resolved Hide resolved
src/biguint/convert.rs Outdated Show resolved Hide resolved
@cuviper
Copy link
Member

cuviper commented Sep 3, 2021

I'll go ahead with those changes myself, because a lot of folks are hitting CI breakage from this.

@cuviper
Copy link
Member

cuviper commented Sep 3, 2021

bors r+

bors bot added a commit that referenced this pull request Sep 3, 2021
219: rust: use explicitily Integer::div_ceil r=cuviper a=catenacyber

Fixes #218

cf rust-lang/rust#88581

Co-authored-by: Philippe Antoine <[email protected]>
Co-authored-by: Josh Stone <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 3, 2021

Build failed:

@cuviper
Copy link
Member

cuviper commented Sep 3, 2021

bors r+

@cuviper
Copy link
Member

cuviper commented Sep 3, 2021

bors retry

@bors
Copy link
Contributor

bors bot commented Sep 3, 2021

@bors bors bot merged commit 8ee0b9a into rust-num:master Sep 3, 2021
@catenacyber
Copy link
Contributor Author

Thanks for getting this :-)

qti3e added a commit to qti3e/candid that referenced this pull request Sep 7, 2021
The compilation is broken on nightly, due to:
rust-lang/rust#88581
This commit upgrades the num-bigint package to v0.4.2 which resolves this issue:
rust-num/num-bigint#219
chenyan-dfinity pushed a commit to dfinity/candid that referenced this pull request Sep 7, 2021
The compilation is broken on nightly, due to:
rust-lang/rust#88581
This commit upgrades the num-bigint package to v0.4.2 which resolves this issue:
rust-num/num-bigint#219
pluiedev added a commit to pluiedev/nixpkgs that referenced this pull request May 6, 2024
One of the dependencies of this crate, `num-bigint`, fails to compile on
Rust versions >=1.73 due to a name conflict (see rust-num/num-bigint#219).

This commit fixes the compilation failure by bumping the `gerber-types`
dependency to 0.3, which includes a newer version of `num-bigint` that
compiles with the latest `rustc`.
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.

Compilation broken on nightly (int_roundings feature)
2 participants