[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, 18 Feb 2021 17:28:25 +0000 (12:28 -0500)
commit3bbecbef21ec3bf3f4f665128cbf254d85374e6e
treebdbeaf65b3bc74a10c722a3c2ec1e8ddf57688c9
parent494e0fd8a01dc0b7dfa61f14782805dd7da92395
[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