Skip to content

Commit

Permalink
Ensure that calls to sort do not depend on locale
Browse files Browse the repository at this point in the history
Fixes: rust-lang#3934 (comment)

(backport <rust-lang#4026>)
(cherry picked from commit a88c0d3)
  • Loading branch information
tgross35 committed Nov 13, 2024
1 parent 5109d52 commit 058185a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ci/style.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ else
exit 1
fi

# Ensure that `sort` output is not locale-dependent
export LC_ALL=C

for file in libc-test/semver/*.txt; do
case "$file" in
*TODO*) continue ;;
Expand Down

0 comments on commit 058185a

Please sign in to comment.