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
with #![no_std] is set in main.rs, running cargo build, this post-02 still tries to find some dependencies and types, like
error: target is not supported, for more information see: https://docs.rs/getrandom/#unsupported-targets
--> /Users/XXXX/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/getrandom-0.2.8/src/lib.rs:268:9
|
268 | / compile_error!("target is not supported, for more information see: \269 | | https://docs.rs/getrandom/#unsupported-targets");||________________________________________________________________________^
error[E0433]: failed to resolve: use of undeclared crate or module `imp`
--> /Users/XXXX/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/getrandom-0.2.8/src/lib.rs:290:5
|
290 | imp::getrandom_inner(dest)
| ^^^ use of undeclared crate or module `imp`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `getrandom` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
The post-02 branch uses bootloader 0.9.8, not 0.11.2. The current second edition of blog os doesn't work with bootloader >0.9 as 0.10 and 0.11 use a fundamentally different way of integration. @phil-opp is currently working on a third edition which will use bootloader 0.11.
Hi, I cannot build this branch successfully. My environment and error was listed as following:
the dependencies was set as
with
#![no_std]
is set inmain.rs
, runningcargo build
, thispost-02
still tries to find some dependencies and types, likeThe text was updated successfully, but these errors were encountered: