Skip to content

Commit c54d944

Browse files
authored
Merge branch 'main' into core-1
2 parents 3cf74f3 + 356567e commit c54d944

25 files changed

Lines changed: 1024 additions & 615 deletions

File tree

.github/workflows/CICD.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,8 @@ jobs:
503503
shell: bash
504504
run: |
505505
## `make install`
506-
make install DESTDIR=target/size-release/
507-
make install MULTICALL=y LN="ln -vf" DESTDIR=target/size-multi-release/
508-
# strip the results
509-
strip target/size*/usr/local/bin/*
506+
RUSTFLAGS="${RUSTFLAGS} -C strip=symbols" make install DESTDIR=target/size-release/
507+
RUSTFLAGS="${RUSTFLAGS} -C strip=symbols" make install MULTICALL=y LN="ln -vf" DESTDIR=target/size-multi-release/
510508
- name: Test for hardlinks
511509
shell: bash
512510
run: |
@@ -732,16 +730,6 @@ jobs:
732730
CARGO_TEST_OPTIONS='--workspace'
733731
;;
734732
esac
735-
outputs CARGO_TEST_OPTIONS
736-
# * executable for `strip`?
737-
STRIP="strip"
738-
case ${{ matrix.job.target }} in
739-
aarch64-*-linux-*) STRIP="aarch64-linux-gnu-strip" ;;
740-
riscv64gc-*-linux-*) STRIP="riscv64-linux-gnu-strip" ;;
741-
arm-*-linux-gnueabihf) STRIP="arm-linux-gnueabihf-strip" ;;
742-
*-pc-windows-msvc) STRIP="" ;;
743-
esac;
744-
outputs STRIP
745733
- uses: taiki-e/install-action@v2
746734
if: steps.vars.outputs.CARGO_CMD == 'cross'
747735
with:
@@ -841,7 +829,7 @@ jobs:
841829
shell: bash
842830
run: |
843831
## Build
844-
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} build --release \
832+
${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} build --release --config=profile.release.strip=true \
845833
--target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }}
846834
- name: Test
847835
if: matrix.job.skip-tests != true
@@ -874,11 +862,6 @@ jobs:
874862
# binaries
875863
cp 'target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}' '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/'
876864
cp 'target/${{ matrix.job.target }}/release/uudoc${{ steps.vars.outputs.EXE_suffix }}' '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/' || :
877-
# `strip` binary (if needed)
878-
if [ -n "${{ steps.vars.outputs.STRIP }}" ]; then
879-
"${{ steps.vars.outputs.STRIP }}" '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}'
880-
"${{ steps.vars.outputs.STRIP }}" '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/uudoc' || :
881-
fi
882865
# README and LICENSE
883866
# * spell-checker:ignore EADME ICENSE
884867
(shopt -s nullglob; for f in [R]"EADME"{,.*}; do cp $f '${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_BASENAME }}/' ; done)

.github/workflows/fuzzing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
- { name: fuzz_parse_glob, should_pass: true }
9595
- { name: fuzz_parse_size, should_pass: true }
9696
- { name: fuzz_parse_time, should_pass: true }
97-
- { name: fuzz_seq_parse_number, should_pass: true }
97+
- { name: fuzz_seq_parse_number, should_pass: false }
9898
- { name: fuzz_non_utf8_paths, should_pass: true }
9999

100100
steps:

.vscode/cspell.dictionaries/jargon.wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,5 +220,7 @@ TUNABLES
220220
tunables
221221
VMULL
222222
vmull
223+
ENOTSUP
224+
enotsup
223225
SETFL
224226
tmpfs

0 commit comments

Comments
 (0)