]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Add locally defined crates as "dependencies" without `extern crate`
authorMatt Corallo <git@bluematt.me>
Wed, 22 Jun 2022 19:59:45 +0000 (19:59 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 17:16:28 +0000 (17:16 +0000)
commitd31c25fdc689326bedf028edaa9abb3f0fe7efa6
tree9332873594ab5c2a53b1125061d67d67756c8845
parent170f4b624053ee1a95dbbc8efe96ec8ffb1fcb4e
Add locally defined crates as "dependencies" without `extern crate`

We later use the `dependency` set when doing type resolution to
decide if `::asdf::T` means `current_crate::asdf::T` or `asdf::T`,
which will resolve incorrectly if we don't ensure all possible
crates are in the `dependencies` list.
c-bindings-gen/src/types.rs