Skip to content

[Backport staging-25.11] rustPlatform.buildRustPackage: Pass env.RUSTFLAGS only when specified or needed to fix builds#466586

Merged
Aleksanaa merged 1 commit intostaging-25.11from
backport-464707-to-staging-25.11
Dec 1, 2025
Merged

[Backport staging-25.11] rustPlatform.buildRustPackage: Pass env.RUSTFLAGS only when specified or needed to fix builds#466586
Aleksanaa merged 1 commit intostaging-25.11from
backport-464707-to-staging-25.11

Conversation

@nixpkgs-ci
Copy link
Copy Markdown
Contributor

@nixpkgs-ci nixpkgs-ci bot commented Nov 30, 2025

Bot-based backport to staging-25.11, triggered by a label in #464707.

Before merging, ensure that this backport is acceptable for the release.

Even as a non-committer, if you find that it is not acceptable, leave a comment.

… or needed

Prevent shadowing RUSTFLAGS-like variables with lower priorities,
such as mint-mod-mamanager's
CARGO_TARGET_X86_64_PC_WINDOWS_GNU_RUSTFLAGS

Co-authored-by: Gergő Gutyina <gutyina.gergo.2@gmail.com>
(cherry picked from commit 978d298)
@nixpkgs-ci nixpkgs-ci bot requested review from winterqt and zowoq November 30, 2025 15:10
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 4.workflow: backport This targets a stable branch labels Nov 30, 2025
@Aleksanaa Aleksanaa added this pull request to the merge queue Dec 1, 2025
Merged via the queue into staging-25.11 with commit 8ca6411 Dec 1, 2025
32 of 35 checks passed
@Aleksanaa Aleksanaa deleted the backport-464707-to-staging-25.11 branch December 1, 2025 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants