You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# cg_clif/Cargo.toml
[package]
name = "rustc_codegen_cranelift"version = "0.1.0"
[dependencies]
# These have to be in sync with each othercranelift-codegen = { git = "https://github.com/bytecodealliance/wasmtime/", branch = "main", features = ["unwind"] }
Notes
Output of cargo version: cargo 1.48.0-nightly (05c611ae3 2020-09-23)
The text was updated successfully, but these errors were encountered:
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.
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)
The text was updated successfully, but these errors were encountered: