Closed insipx closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
998b9f5
) 95.81% compared to head (a5e2507
) 95.81%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When compiling
lib-didethresolver
withxps-gateway
, the gateway compile is unable to findDIDRegistry.json
, butlib-didethresolver
still compiles successfully in it's own directoryduring compilation,
cargo
auto-sets the directory to$CARGO_MANIFEST_DIR
, which for lib-didethresolver is this:cat target/debug/build/lib-didethresolver-7a76cec61a699ce9/output 1 │ /Users/insipx/.cargo/git/checkouts/didethresolver-52eccfd11c9d11f4/998b9f5/lib 2 │ /Users/insipx/.cargo/git/checkouts/didethresolver-52eccfd11c9d11f4/998b9f5/lib/lib/abi/DIDRegistry.json
when compiling on its own,
CARGO_MANIFEST_DIR
is probably set to the virtual manifest rather than the one inlib
, causing this errordebugged using this
build.rs
we were adding an extra
lib
, this pr solves the issue and enables a successful compile for both crates