Commit 35ba0c5
committed
Pin memchr to 2.5.0 in the library rather than rustc_ast
The latest versions of `memchr` experience LTO-related issues when
compiling for windows-gnu [1], so needs to be pinned. The issue is
present in the standard library.
`memchr` has been pinned in `rustc_ast`, but since the workspace was
recently split, this pin no longer has any effect on library crates.
Resolve this by adding `memchr` as an _unused_ dependency in `std`,
pinned to 2.5. Additionally, remove the pin in `rustc_ast` to allow
non-library crates to upgrade to the latest version.
Link: #127890 [1]1 parent 6f7229c commit 35ba0c5
File tree
4 files changed
+198
-163
lines changed- compiler/rustc_ast
- library
- std
4 files changed
+198
-163
lines changed
0 commit comments