mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 13:30:36 +00:00
[26.05] clash-rs: fix build with Rust ≥1.95 (#525460)
This commit is contained in:
@@ -33,8 +33,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
env = {
|
||||
# requires features: sync_unsafe_cell, unbounded_shifts, let_chains, ip
|
||||
# requires nightly features: sync_unsafe_cell, unbounded_shifts, let_chains, ip
|
||||
RUSTC_BOOTSTRAP = 1;
|
||||
# if_let_guard is stable since Rust 1.95.0, but some deps still carry
|
||||
# the stale #![feature(if_let_guard)] attribute.
|
||||
RUSTFLAGS = "-A stable-features";
|
||||
};
|
||||
|
||||
buildFeatures = [ "plus" ];
|
||||
|
||||
Reference in New Issue
Block a user