Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
aed27c9
feat: add --debug flag to cksum
naoNao89 Oct 30, 2025
5f571b6
docs: clarify --debug flag is not yet implemented
naoNao89 Oct 30, 2025
6328c51
cksum: implement --debug flag functionality
naoNao89 Oct 30, 2025
90d84e2
fix(cksum): implement proper CPU hardware capability detection for --…
naoNao89 Nov 1, 2025
0e1707c
Merge branch 'main' into fix-cksum-debug-flag
naoNao89 Nov 1, 2025
09efa85
chore: update Cargo.lock after merge
naoNao89 Nov 1, 2025
ed19fad
fix(cksum): implement --debug flag with CPU hardware capability detec…
naoNao89 Nov 1, 2025
c4276f6
chore: update fuzz/Cargo.lock for MSRV 1.85.0 compatibility
naoNao89 Nov 1, 2025
3d194c1
chore: add CPU feature terms to cspell dictionary
naoNao89 Nov 1, 2025
cb704f2
fix(cksum): make cpufeatures dependency target-specific
naoNao89 Nov 1, 2025
4f9f6cc
fix(cksum): exclude Android from cpufeatures to prevent CPUID crash
naoNao89 Nov 1, 2025
d78e7d1
fix(cksum): exclude Android from CPU feature detection tests
naoNao89 Nov 2, 2025
74c4862
fix(cksum): exclude Android from --debug flag tests
naoNao89 Nov 2, 2025
c7361b5
fix(cksum): move cfg attribute before test attribute for Android excl…
naoNao89 Nov 2, 2025
bb284eb
fix(cksum): wrap debug tests in cfg-gated module for Android exclusion
naoNao89 Nov 2, 2025
c552d3a
Fix L10n/Installation Test broken pipe error on macOS
naoNao89 Nov 2, 2025
a521c1b
Remove duplicate '|| true' from l10n.yml
naoNao89 Nov 2, 2025
f49b134
Fix broken pipe error by wrapping echo|head in subshell with || true
naoNao89 Nov 2, 2025
ca5e8ad
fix(cksum): add x86 (32-bit) CPU feature detection support
naoNao89 Nov 2, 2025
80e4237
fix(cksum): exclude Android from CPU debug info printing
naoNao89 Nov 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions .github/workflows/l10n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,8 @@ jobs:
shell: bash
run: |
## Test French localization with cargo-installed binary and downloaded locales
set +o pipefail # Ignore broken pipe errors from head command

echo "Testing French localization with cargo-installed binary..."

# Set installation directories
Expand Down Expand Up @@ -832,7 +834,7 @@ jobs:
echo "Testing ls --help with French locale..."
ls_help=$("$CARGO_INSTALL_DIR/bin/coreutils" ls --help 2>&1 || echo "Command failed")
echo "ls help output (first 10 lines):"
echo "$ls_help" | head -10
(echo "$ls_help" | head -10) || true

# Check for specific French strings from ls fr-FR.ftl
french_strings_found=0
Expand All @@ -855,7 +857,7 @@ jobs:
echo "Testing cat --help with French locale..."
cat_help=$("$CARGO_INSTALL_DIR/bin/coreutils" cat --help 2>&1 || echo "Command failed")
echo "cat help output (first 5 lines):"
echo "$cat_help" | head -5
(echo "$cat_help" | head -5) || true

if echo "$cat_help" | grep -q "Concaténer"; then
echo "✓ Found French cat description containing: 'Concaténer'"
Expand Down Expand Up @@ -989,6 +991,8 @@ jobs:
shell: bash
run: |
## Test locale-specific behavior with installed binaries
set +o pipefail # Ignore broken pipe errors from head command

echo "Testing locale-specific functionality..."

# Set installation directory path
Expand Down Expand Up @@ -1032,7 +1036,7 @@ jobs:
echo "Testing ls --help with French locale..."
ls_help=$("$INSTALL_DIR/usr/bin/coreutils" ls --help 2>&1 || echo "Command failed")
echo "ls help output (first 10 lines):"
echo "$ls_help" | head -10
(echo "$ls_help" | head -10) || true

# Check for actual French strings that appear in ls --help output
if echo "$ls_help" | grep -q "Lister le contenu des répertoires"; then
Expand All @@ -1059,7 +1063,7 @@ jobs:
echo "Testing cat --help with French locale..."
cat_help=$("$INSTALL_DIR/usr/bin/coreutils" cat --help 2>&1 || echo "Command failed")
echo "cat help output (first 5 lines):"
echo "$cat_help" | head -5
(echo "$cat_help" | head -5) || true

# Check for French strings in cat help
if echo "$cat_help" | grep -q "Concaténer"; then
Expand Down
6 changes: 6 additions & 0 deletions .vscode/cspell.dictionaries/jargon.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ codegen
colorizable
colorize
coprime
cpuid
cpufeatures
consts
conv
cyclomatic
Expand Down Expand Up @@ -107,6 +109,8 @@ noxfer
ofile
oflag
oflags
pclmul
pclmulqdq
peekable
performant
precompiled
Expand Down Expand Up @@ -154,6 +158,8 @@ unprefixed
unportable
unsync
urand
vmull
vpclmulqdq
whitespace
wordlist
wordlists
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ clap = { version = "4.5", features = ["wrap_help", "cargo", "color"] }
clap_complete = "4.4"
clap_mangen = "0.2"
compare = "0.1.0"
cpufeatures = "0.2"
crossterm = "0.29.0"
ctor = "0.6.0"
ctrlc = { version = "3.4.7", features = ["termination"] }
Expand Down
Loading
Loading