Skip to content

Commit

Permalink
cargo update cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jun 8, 2022
1 parent cc87283 commit 990b6de
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 69 deletions.
122 changes: 54 additions & 68 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion c_components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ doctest = false
glob = "0.3.0"

[build-dependencies.cc]
version = "1.0.52"
version = "1"
features = ["parallel"]

[features]
Expand Down

1 comment on commit 990b6de

@github-actions
Copy link

@github-actions github-actions bot commented on 990b6de Jun 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@check-spelling-bot Report

🔴 Please review

Unrecognized words (63)
aarch
appleclang
autodeleted
bdd
Bikeshed
bools
BORLANDC
brackes
Conditionhandler
cppcoreguidelines
CPPUNWIND
CUDACC
cumn
defed
deoptimize
deoptimized
destructable
disttribution
erfinv
GCCs
generatortracker
GLIBCXX
gtest
hicpp
ibmxl
IGenerator
impls
iqr
ISingleton
libstd
LOGWRITE
lom
los
milleniumbug
monostate
NOINTERNAL
NOLINTNEXTLINE
nsamples
nttp
ORBIS
overallocating
pcg
Prefs
ptrdiff
Regehr
rotr
RTSS
RTX
skipq
SPDX
sqcb
sstr
stddev
STRINGIZE
TStorage
unregister
unscoped
URng
VARGS
Wgnu
Wnon
XLC
xorshifted
Previously acknowledged words that are now absent Bools lfirst llast prefs reimplementation rfirst rlast uft UNSUPPRESS
Available dictionaries could cover words not in the dictionary

cspell:fullstack/fullstack.txt (181) covers 11 of them
cspell:aws/aws.txt (1485) covers 10 of them
cspell:rust/rust.txt (112) covers 9 of them
cspell:npm/npm.txt (671) covers 8 of them
cspell:java/java.txt (33524) covers 8 of them
cspell:golang/go.txt (7745) covers 6 of them
cspell:scala/scala.txt (2752) covers 4 of them
cspell:lua/lua.txt (391) covers 4 of them
cspell:django/django.txt (2342) covers 4 of them
cspell:ruby/ruby.txt (354) covers 2 of them
cspell:python/python.txt (364) covers 2 of them

Consider adding them using:

      with:
        extra_dictionaries:
          cspell:fullstack/fullstack.txt
          cspell:aws/aws.txt
          cspell:rust/rust.txt
          cspell:npm/npm.txt
          cspell:java/java.txt
          cspell:golang/go.txt
          cspell:scala/scala.txt
          cspell:lua/lua.txt
          cspell:django/django.txt
          cspell:ruby/ruby.txt
          cspell:python/python.txt

To stop checking additional dictionaries, add:

      with:
        check_extra_dictionaries: ''
To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands

... in a clone of the [email protected]:imazen/imageflow.git repository
on the main branch:

update_files() {
perl -e '
my @expect_files=qw('".github/actions/spell-check/expect/21a881426bac4ce7da7479525c41638edb10dab3.txt
.github/actions/spell-check/expect/4fd706fd879e80192d1ecef241faca522e84be19.txt
.github/actions/spell-check/expect/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"$patch_remove"');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spell-check/expect/990b6de1239cef7ce2f61a7d12759510d39854ab.txt";
use File::Path qw(make_path);
use File::Basename qw(dirname);
make_path (dirname($new_expect_file));
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"$patch_add"');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a)."-".$a cmp lc($b)."-".$b} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;
system("git", "add", $new_expect_file);
'
}

comment_json=$(mktemp)
curl -L -s -S \
  -H "Content-Type: application/json" \
  "https://api.github.com/repos/imazen/imageflow/comments/75660155" > "$comment_json"
comment_body=$(mktemp)
jq -r ".body // empty" "$comment_json" > $comment_body
rm $comment_json

patch_remove=$(perl -ne 'next unless s{^</summary>(.*)</details>$}{$1}; print' < "$comment_body")
  

patch_add=$(perl -e '$/=undef; $_=<>; print "$1" if m{Unrecognized words[^<]*</summary>\n*```\n*([^<]*)```\n*</details>$}m;' < "$comment_body")
  
update_files
rm $comment_body
git add -u

Please sign in to comment.