rust-osdev / uart_16550

Minimal support for uart_16550 serial output.
MIT License
30 stars 23 forks source link

use of unstable library feature 'renamed_spin_loop' #17

Closed HBnetDE closed 3 years ago

HBnetDE commented 3 years ago

I have tried to add this crate to an empty project with rust nightly. When trying to build compilation fails with error: error[E0658]: use of unstable library feature 'renamed_spin_loop' It also recommends to add the crate attribute #![feature(renamed_spin_loop)] However, adding this to my crate does nothing.

I have then tried to clone this crate and build it directly. This causes the same error. However compilation is successfull after adding the crate attribute to the top of uart_16550's lib.rs.

Is this an error on my end?

phil-opp commented 3 years ago

What is the output of rustc --version for you?

HBnetDE commented 3 years ago

It was rustc 1.49.0-nightly (ffa2e7ae8 2020-10-24) when I wrote this. I then updated to rustc 1.54.0-nightly (4e3e6db01 2021-05-18) and it builds now.

Thank you.

phil-opp commented 3 years ago

Great to hear that!