Skip to content

Commit

Permalink
rustc: apply patch to fix delay_span_bug ICE
Browse files Browse the repository at this point in the history
Rust 1.67.0 introduced a regression that caused an ICE when building Vector.

https://hydra.nixos.org/build/207931877
rust-lang/rust#107691
rust-lang/rust#107688
  • Loading branch information
winterqt committed Feb 8, 2023
1 parent bc833a5 commit 5c9bcdf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/compilers/rust/1_67.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ import ./default.nix {
url = "https://github.com/rust-lang/rust/commit/de363d54c40a378717881240e719f5f7223ba376.patch";
hash = "sha256-3Xb803LZUZ1dldxGJ65Iw6gg1V1K827OB/0b32GqilU=";
})

# Fixes ICE.
# https://github.com/rust-lang/rust/pull/107688
(fetchpatch {
name = "re-erased-regions-are-local.patch";
url = "https://github.com/rust-lang/rust/commit/9d110847ab7f6aef56a8cd20cb6cea4fbcc51cd9.patch";
excludes = [ "*tests/*" ];
hash = "sha256-EZH5K1BEOOfi97xZr1xEHFP4jjvJ1+xqtRMvxBoL8pU=";
})
];
}

Expand Down

0 comments on commit 5c9bcdf

Please sign in to comment.