Skip to content

Commit 54a3f6f

Browse files
committed
Add a CI check for the prebuild debug-mode libraries.
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 which became out of date after bc8ea07 added comments to the .s files, changing the line numbers in the .debug_line sections.
1 parent df32ef8 commit 54a3f6f

File tree

6 files changed

+5
-0
lines changed

6 files changed

+5
-0
lines changed

.github/workflows/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,15 @@ jobs:
304304
if: matrix.qemu != '' && matrix.os == 'ubuntu-latest'
305305

306306
- run: |
307+
# Run the tests, and check the prebuilt release libraries.
307308
cargo test --verbose --features=all-impls,procfs,cc --release --workspace -- --nocapture
308309
env:
309310
RUST_BACKTRACE: 1
310311
312+
- run: |
313+
# Check the prebuilt debug libraries too.
314+
cargo check --features=cc
315+
311316
test_rustix_use_libc:
312317
name: Test rustix_use_libc
313318
runs-on: ${{ matrix.os }}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)