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
Features for dependencies are unified, even if they are for targets that are not currently enabled. This means that the features of the molecule package that ckb-x64-simulator enables causes it to add optional dependencies that are not compatible with no_std.
Problem
https://github.com/xxuejie/cargo-target-dep-test This is a minimal repo reproducing the problem. As denoted here, the included dependency should not be built in riscv64 targets, yet it is still built.
Steps
This would result an error. Even though
ckb-x64-simulator
is marked as a dependency only in non-riscv64 envnvironment, it is still built here.When those lines are commented out, the crate could be built just fine.
Possible Solution(s)
Target specific dependency should be handled propoerly.
Notes
Output of
cargo version
:cargo 1.48.0 (65cbdd2 2020-10-14)
The text was updated successfully, but these errors were encountered: