Pin memchr to 2.5.0 in the library rather than rustc_ast · qinheping/verify-rust-std@6d8f5d8 (original) (raw)

Original file line number Diff line number Diff line change
@@ -23,6 +23,10 @@ unwind = { path = "../unwind" }
23 23 hashbrown = { version = "0.14", default-features = false, features = [
24 24 'rustc-dep-of-std',
25 25 ] }
26 +# FIXME(#127890): `object` depends on `memchr`, but `memchr` > v2.5 causes
27 +# issues with LTO. This dependency is not used directly, but pin it here so
28 +# it resolves to 2.5. To be removed once rust-lang/rust#127890 is fixed.
29 +memchr = { version = "=2.5.0", default-features = false, features = ["rustc-dep-of-std"] }
26 30 std_detect = { path = "../stdarch/crates/std_detect", default-features = false, features = [
27 31 'rustc-dep-of-std',
28 32 ] }