[bindings] Use new ImportResolver during first AST pass
authorMatt Corallo <git@bluematt.me>
Tue, 9 Feb 2021 03:19:48 +0000 (22:19 -0500)
committerMatt Corallo <git@bluematt.me>
Thu, 11 Feb 2021 18:24:50 +0000 (13:24 -0500)
commit2b101baf6ca4204a989b55fc4fa4aee55c82bdff
treed1de31444b1dc5c7f9067e0a99e54723cb5860ca
parentc09dcda0c162bc4eed154aa60367c2c7c444dd8a
[bindings] Use new ImportResolver during first AST pass

This removes some redundant logic and ensures we handle more
import-resolution cases in both contexts.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs