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
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
cd kernel && cargo xbuild --target=riscv64gc-unknown-none-elf
WARNING: There is no root package to read the cargo-xbuild config from.
Compiling riscv v0.5.6
Compiling bare-metal v0.2.4
Compiling core-os-riscv v0.1.0 (/home/mahdi/xv6_riscv_rust/core-os-riscv/kernel)
error[E0557]: feature has been removed
--> kernel/src/lib.rs:13:12
|
13 | #![feature(const_in_array_repeat_expressions)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
|
= note: removed due to causing promotable bugs
warning: the feature const_generics is incomplete and may not be safe to use and/or cause compiler crashes
--> kernel/src/lib.rs:12:12
|
12 | #![feature(const_generics)]
| ^^^^^^^^^^^^^^
|
= note: #[warn(incomplete_features)] on by default
= note: see issue #44580 rust-lang/rust#44580 for more information
error: aborting due to previous error; 1 warning emitted
For more information about this error, try rustc --explain E0557.
error: could not compile core-os-riscv
To learn more, run the command again with --verbose.
make: *** [Makefile:43: target/riscv64gc-unknown-none-elf/debug/libkernel.a] Error 101
The text was updated successfully, but these errors were encountered:
I have fixed the compile error of rustc in #12. However, we are still blocked by rust-embedded/riscv#69, where riscv would produce wrong float abi and would cause link error later.
warning: 1 warning emitted
cd kernel && cargo xbuild --target=riscv64gc-unknown-none-elf
WARNING: There is no root package to read the cargo-xbuild config from.
Compiling riscv v0.5.6
Compiling bare-metal v0.2.4
Compiling core-os-riscv v0.1.0 (/home/mahdi/xv6_riscv_rust/core-os-riscv/kernel)
error[E0557]: feature has been removed
--> kernel/src/lib.rs:13:12
|
13 | #![feature(const_in_array_repeat_expressions)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
|
= note: removed due to causing promotable bugs
warning: the feature
const_generics
is incomplete and may not be safe to use and/or cause compiler crashes--> kernel/src/lib.rs:12:12
|
12 | #![feature(const_generics)]
| ^^^^^^^^^^^^^^
|
= note:
#[warn(incomplete_features)]
on by default= note: see issue #44580 rust-lang/rust#44580 for more information
error: aborting due to previous error; 1 warning emitted
For more information about this error, try
rustc --explain E0557
.error: could not compile
core-os-riscv
To learn more, run the command again with --verbose.
make: *** [Makefile:43: target/riscv64gc-unknown-none-elf/debug/libkernel.a] Error 101
The text was updated successfully, but these errors were encountered: