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

Cannot build without libgmp #203

Open
LegNeato opened this issue Aug 4, 2022 · 0 comments
Open

Cannot build without libgmp #203

LegNeato opened this issue Aug 4, 2022 · 0 comments

Comments

@LegNeato
Copy link

LegNeato commented Aug 4, 2022

Using the following in Cargo.toml:

openlimits = { version = "0.3", default-features = false, features = ["num_bigint"]}

Fails:

rust-bigint-1.2.0/src/lib.rs:36:1
   |
24 | pub type BigInt = gmp::mpz::Mpz;
   | -------------------------------- previous definition of the type `BigInt` here
...
36 | pub type BigInt = num_bigint::BigInt;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `BigInt` redefined here
   |
   = note: `BigInt` must be defined only once in the type namespace of this module
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

No branches or pull requests

1 participant