Skip to content

Commit

Permalink
Add a CI check for the prebuild debug-mode libraries.
Browse files Browse the repository at this point in the history
The existing CI code checked it for --release builds; this ensures it's
checked for debug builds as well.

This also updates the debug builds where became out of date after
bc8ea07 added comments to the .s files, changing the line numbers in
the .debug_line sections.
  • Loading branch information
sunfishcode committed Jan 24, 2022
1 parent f439dcd commit e1d14a7
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,15 @@ jobs:
if: matrix.qemu != '' && matrix.os == 'ubuntu-latest'

- run: |
# Run the tests, and check the prebuilt release libraries.
cargo test --verbose --features=all-impls,procfs,cc --release --workspace -- --nocapture
env:
RUST_BACKTRACE: 1
- run: |
# Check the prebuilt debug libraries too.
cargo check --features=cc
test_rustix_use_libc:
name: Test rustix_use_libc
runs-on: ${{ matrix.os }}
Expand Down
Binary file modified src/imp/linux_raw/arch/outline/debug/librustix_outline_aarch64.a
Binary file not shown.
Binary file modified src/imp/linux_raw/arch/outline/debug/librustix_outline_arm.a
Binary file not shown.
Binary file modified src/imp/linux_raw/arch/outline/debug/librustix_outline_riscv64.a
Binary file not shown.
Binary file modified src/imp/linux_raw/arch/outline/debug/librustix_outline_x86.a
Binary file not shown.
Binary file modified src/imp/linux_raw/arch/outline/debug/librustix_outline_x86_64.a
Binary file not shown.

0 comments on commit e1d14a7

Please sign in to comment.