Open Behkar opened 3 years ago
You may need to downgrade rustc. I'll try adapting and testing this on latest rustc.
I have fixed the compile error of rustc in https://github.com/skyzh/core-os-riscv/pull/12. However, we are still blocked by https://github.com/rust-embedded/riscv/issues/69, where riscv would produce wrong float abi and would cause link error later.
If you really want to play with core-os-riscv, the best way to do for now is to use a nightly toolchain published in 2020.
warning: 1 warning emitted
= note: removed due to causing promotable bugs
const_generics
is incomplete and may not be safe to use and/or cause compiler crashes --> kernel/src/lib.rs:12:12= note:
#[warn(incomplete_features)]
on by default = note: see issue #44580 https://github.com/rust-lang/rust/issues/44580 for more informationerror: aborting due to previous error; 1 warning emitted
For more information about this error, try
rustc --explain E0557
. error: could not compilecore-os-riscv
To learn more, run the command again with --verbose. make: *** [Makefile:43: target/riscv64gc-unknown-none-elf/debug/libkernel.a] Error 101