Skip to content

chore: re-add BigUInt, OID imports needed when building for dfx#219

Merged
2 commits merged intomainfrom
ericswanson/biguint-iod
Jul 1, 2021
Merged

chore: re-add BigUInt, OID imports needed when building for dfx#219
2 commits merged intomainfrom
ericswanson/biguint-iod

Conversation

@ghost
Copy link

@ghost ghost commented Jul 1, 2021

For some reason, these imports are needed when compiling agent-rs for dfx. Fixes errors of this form:

error[E0433]: failed to resolve: use of undeclared type `BigUint`
  --> /Users/ericswanson/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/8fbdafa/ic-agent/src/identity/basic.rs:66:22
   |
66 |     let id_ed25519 = oid!(1, 3, 101, 112);
   |                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
   |
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing this struct
   |
1  | use simple_asn1::BigUint;
   |

This is needed for dfinity/sdk#1736

@ghost ghost merged commit 20694f2 into main Jul 1, 2021
@ghost ghost deleted the ericswanson/biguint-iod branch July 1, 2021 21:10
This pull request was closed.
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.

1 participant