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
Problem
The bindgen crate turns on the feature log/std. When I use bindgen as a build-dependency in a no_std crate which using the log crate, the log/std is turned on unexpectly.
error[E0463]: can't find crate for `std`
|
= note: the `x86_64-linux-kernel` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: could not compile `log`.
Changing then version of log to = 0.3.8 makes the cargo check happy.
Possible Solution(s)
Notes
Output of cargo version:
cargo 1.44.0-nightly (7019b3e 2020-03-17)
The text was updated successfully, but these errors were encountered:
Problem
The
bindgen
crate turns on the featurelog/std
. When I use bindgen as a build-dependency in a no_std crate which using thelog
crate, thelog/std
is turned on unexpectly.Steps
output:
Changing then version of log to
= 0.3.8
makes thecargo check
happy.Possible Solution(s)
Notes
Output of
cargo version
:cargo 1.44.0-nightly (7019b3e 2020-03-17)
The text was updated successfully, but these errors were encountered: