Open bjorn3 opened 4 years ago
Same odd problem as #7463. As I recall this is do to to [patch]
being implemented as "just lie to the resolver". In this case the resolver notices that thinks don't make sense and panics. The relevant optimization could just get skipped, but it involves threading the error path through several closures.
Found the cause.
I depended on swc_common = 0.10.7
by mistake where other crates depends on swc_common = "0.10.6"
and it is patched to point https://github.com/kdy1/swc/tree/tsc of which version is 0.10.6
Seems like resolve wants 0.10.7
, but failed to find matching package because of patch.
Problem
Steps
Try to build the following crate structure using
Cargo.toml
where../wasmtime
is a checkout of https://github.com/bytecodealliance/wasmtime.Notes
Output of
cargo version
:cargo 1.48.0-nightly (05c611ae3 2020-09-23)