Closed
Description
hi,
when running cargo test
in post-05
(right after introducing x86_64
) compilation fails with following errors. I know @phil-opp you are involved in the other thread, so just wanna ask - shouldn't the blog post be updated?
Updating crates.io index
Downloaded x86_64 v0.13.6
Downloaded 1 crate (60.7 KB) in 0.70s
Compiling bitflags v1.2.1
Compiling x86_64 v0.13.6
Compiling bit_field v0.9.0
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> /home/szborows/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/x86_64-0.13.6/src/structures/paging/frame.rs:18:6
|
18 | impl<S: PageSize> PhysFrame<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> /home/szborows/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/x86_64-0.13.6/src/structures/paging/page.rs:62:6
|
62 | impl<S: PageSize> Page<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error[E0658]: trait bounds other than `Sized` on const fn parameters are unstable
--> /home/szborows/.cargo/registry/src/github.tiyicn.workers.dev-1ecc6299db9ec823/x86_64-0.13.6/src/structures/paging/page.rs:150:6
|
150 | impl<S: NotGiantPageSize> Page<S> {
| ^
|
= note: see issue #57563 <https://github.com/rust-lang/rust/issues/57563> for more information
= help: add `#![feature(const_fn_trait_bound)]` to the crate attributes to enable
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0658`.
error: could not compile `x86_64`
Metadata
Metadata
Assignees
Labels
No labels