Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build due to rust error[E0557] #20

Open
rsahita opened this issue Oct 28, 2021 · 4 comments
Open

Failed to build due to rust error[E0557] #20

rsahita opened this issue Oct 28, 2021 · 4 comments
Assignees
Labels
bug Non-critical bug

Comments

@rsahita
Copy link

rsahita commented Oct 28, 2021

https://github.com/diodesign/supervisor-riscv.git had a dependency on linked_list_allocator version = "0.8.11" which had a dependency on lock_api 0.3.0 which was causing the build error below.

The failed build due to an "error[E0557]: feature has been removed" for #![feature(const_fn)]

updating the dependency for linked_list_allocator to version 0.9.1 moves the dependent lock_api lib up to 0.4.5 like so:
├── linked_list_allocator v0.9.1
│ └── spinning_top v0.2.4
│ └── lock_api v0.4.5
│ └── scopeguard v1.1.0

This fixes the build.
suggest also updating the riscv dependency to 0.7.0
As well as spin to 0.9.2 (which also has a lock_api dependency)

thanks!

@rsahita rsahita changed the title Failed to build due to Failed to build due to rust error[E0557] Oct 28, 2021
@diodesign diodesign self-assigned this Nov 13, 2021
@diodesign diodesign added the bug Non-critical bug label Nov 13, 2021
@diodesign
Copy link
Owner

Thanks a lot for the feedback! I'm just working on a side project related to Diosix and RISC-V, which does involve changes to Diosix's build system, and when that's working, I'll turn to the dependencies.

@rsahita
Copy link
Author

rsahita commented Nov 13, 2021 via email

@diodesign
Copy link
Owner

Yes: I want it to be able to take advantage of the H extension if present, and PMP if not -- thanks for the interest, it's a big motivator for me

@FrancoAuri1996
Copy link

Hi, how can i update the dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Non-critical bug
Projects
None yet
Development

No branches or pull requests

3 participants