diosix icon indicating copy to clipboard operation
diosix copied to clipboard

Failed to build due to rust error[E0557]

Open rsahita opened this issue 3 years ago • 4 comments

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 avatar Oct 28 '21 02:10 rsahita

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.

diodesign avatar Nov 13 '21 04:11 diodesign

Sure. Do you plan on adding RV Hypervisor extension support to diosix?

Ravi

Sent from my cell phone. Pardon the brevity.

On Nov 12, 2021, at 8:44 PM, Chris Williams @.***> wrote:

 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.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

rsahita avatar Nov 13 '21 19:11 rsahita

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

diodesign avatar Nov 14 '21 02:11 diodesign

Hi, how can i update the dependencies?

FrancoAuri1996 avatar Apr 28 '23 13:04 FrancoAuri1996