Skip to content

Commit

Permalink
Pin memchr to 2.5.0 in the library rather than rustc_ast
Browse files Browse the repository at this point in the history
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: rust-lang#127890 [1]
  • Loading branch information
tgross35 committed Sep 24, 2024
1 parent 11e760b commit 544e69c
Show file tree
Hide file tree
Showing 4 changed files with 198 additions and 163 deletions.
Loading

0 comments on commit 544e69c

Please sign in to comment.