Closed chemicstry closed 4 years ago
I've also hit another similar problem where memchr
fails to build because riscv
has it as a build dependency and forces std
feature flag. This can be resolved with an unstable cargo feature https://github.com/rust-lang/cargo/issues/7915 which isolates regular and build dependency feature flags.
This updates
riscv
dependency version and resolvesbare-metal
conflict when building forstm32
:This is a problem because
cargo
selects versions with allcfg(...)
macros evaluated to true, so even if not building for riscv arch, it fails to select properbare-metal
version.