summaryrefslogtreecommitdiffstats
path: root/third_party/rust/packed_simd/ci/max_line_width.sh
blob: f70639b6f89ba461e823e65c3a43b5152c5ff97d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env sh

set -x

export success=true

find . -iname '*.rs' | while read -r file; do
    result=$(grep '.\{79\}' "${file}" | grep --invert 'http')
    if [ "${result}" = "" ]
    then
        :
    else
        echo "file \"${file}\": $result"
        exit 1
    fi
done