Skip to content

Build failure: rustc on staging #318674

@reckenrode

Description

@reckenrode

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build 'github:NixOS/nixpkgs?ref=afa876d6feea138d23310cc19662b0d3364570d9#rustc' (tested only on Darwin).

Build log

https://gist.github.com/reckenrode/53c181f0c8fff37707e719734250024c

Additional context

Possibly due to #316761. #317273 may be related to the fix, but it targets machine flags not hardening flags.

Clang does provide hardeningUnsupportedFlagsByTargetPlatform, but if Rust is not invoking a wasm32-unknown-unknown target clang, I don’t think that will apply.

Notify maintainers

@risicle @alyssais

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/etc/nix/inputs/nixpkgs`

I actually have the Darwin sandbox disabled, so I don’t know what’s up with nix-info.


Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions