Skip to content

build(aarch64): eliminate pinned-nightly core NEON warning #559

Description

@ryanbreen

The required AArch64 release build succeeds, but the warning/error filter reports a Cargo future-incompatibility summary for core v0.0.0 from the pinned nightly-2025-06-24 sysroot.

Detailed report: generated AArch64 NEON intrinsics in Rust core use target_feature(enable = neon), triggering rust-lang/rust issue #134375 even though aarch64-breenix-kernel.json disables NEON.

Reproduction:

cargo build --release --target aarch64-breenix-kernel.json -Z build-std=core,alloc -Z build-std-features=compiler-builtins-mem -p kernel --bin kernel-aarch64 2>&1 | grep -E "^(warning|error)"

Observed output:

warning: the following packages contain code that will be rejected by a future version of Rust: core v0.0.0 (.../nightly-2025-06-24-.../lib/rustlib/src/rust/library/core)

Resolve through a compatible pinned toolchain or upstream fix; do not hide it with lint suppression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions