Skip to content

Commit 6056eaa

Browse files
committed
rustc: apply patch to fix delay_span_bug ICE
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
1 parent 7244b4b commit 6056eaa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/development/compilers/rust/1_67.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ import ./default.nix {
6666
url = "https://github.com/rust-lang/rust/commit/de363d54c40a378717881240e719f5f7223ba376.patch";
6767
hash = "sha256-3Xb803LZUZ1dldxGJ65Iw6gg1V1K827OB/0b32GqilU=";
6868
})
69+
70+
# Fixes ICE.
71+
# https://github.com/rust-lang/rust/pull/107688
72+
(fetchpatch {
73+
name = "re-erased-regions-are-local.patch";
74+
url = "https://github.com/rust-lang/rust/commit/9d110847ab7f6aef56a8cd20cb6cea4fbcc51cd9.patch";
75+
excludes = [ "*tests/*" ];
76+
hash = "sha256-EZH5K1BEOOfi97xZr1xEHFP4jjvJ1+xqtRMvxBoL8pU=";
77+
})
6978
];
7079
}
7180

0 commit comments

Comments
 (0)