Skip to content

Commit 4c650b9

Browse files
committed
Force locale in rustfmt shell scripts that rely on sort order
1 parent 0079ca8 commit 4c650b9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ci/rustfmt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -eox pipefail
33

4+
export LC_ALL=C
5+
46
# Generate initial exclusion list
57
#find . -name '*.rs' -type f |sort >rustfmt_excluded_files
68

contrib/run-rustfmt.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -eo pipefail
33

4+
export LC_ALL=C
5+
46
# Generate initial exclusion list
57
#find . -name '*.rs' -type f |sort >rustfmt_excluded_files
68

0 commit comments

Comments
 (0)