Skip to content

aarch64-unknown-hermit std build break #145497

@Pistonight

Description

@Pistonight

building std for aarch64-unknown-hermit produces this error:

error: `#[stable]` attribute cannot be used on extern crates
 --> library/std/src/os/hermit/mod.rs:5:1
5 | #[stable(feature = "rust1", since = "1.0.0")]

The error is on the hermit_abi extern crate declaration

pub extern crate hermit_abi;

The command I tried is ./x --stage 1 build library

Appears to be related to 35e04b6

Metadata

Metadata

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-stabilityArea: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.P-lowLow priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions