Rust: error[E0554]: `#![feature]` may not be used on the stable release channel
Thomas Schwinge
tschwinge@baylibre.com
Fri Mar 21 09:33:36 GMT 2025
Hi!
On 2025-03-17T20:03:48+0000, Iain Sandoe via Gcc <gcc@gcc.gnu.org> wrote:
>> On 17 Mar 2025, at 19:43, Toon Moene <toon@moene.org> wrote:
>>
>> I was eager to try the new rust updates ...
>>
>> But I got this:
>>
>> error[E0554]: `#![feature]` may not be used on the stable release channel
>> --> src/lib.rs:19:1
>> |
>> 19 | #![feature(extern_types)]
>> | ^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> For more information about this error, try `rustc --explain E0554`.
>> error: could not compile `ffi-polonius` (lib) due to 1 previous error
>> [/home/toon/compilers/gcc/gcc/rust/Make-lang.in:506: rust/libffi_polonius.a] Error 101
This should've been resolved via <https://gcc.gnu.org/PR119353>
"[15 regression] Rust fails to build (build failure: error[E0554]: `#![feature]` may not be used on the stable release channel)".
>> Am I the only one seeing this ?
>
> No, if I allow the cargo download to progress (another issue in itself)
This shouldn've been resolved via <https://gcc.gnu.org/PR119333>
"[15 regression] Rust bootstrap fails with cargo trying to download polonius crates".
> I hit this too on Darwin.
Thanks for testing!
Grüße
Thomas
More information about the Gcc
mailing list