From c42ae9906ddd0ca19bd3de085d00012fc2acdcb3 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 12 Jan 2022 06:16:58 -0800 Subject: [PATCH] Test with the the "cc" feature enabled, in CI. Enabling the "cc" feature causes the build.rs script to check that the precompiled libraries match the libraries generated from source. This also updates the libraries, in which the only change is the debug info string mentioning the compilation directory chaging from "rsix" to "rustix". --- .github/workflows/main.yml | 2 +- .../outline/debug/librustix_outline_aarch64.a | Bin 5830 -> 5830 bytes .../outline/debug/librustix_outline_arm.a | Bin 5630 -> 5630 bytes .../outline/debug/librustix_outline_riscv64.a | Bin 10526 -> 10526 bytes .../outline/debug/librustix_outline_x86.a | Bin 7194 -> 7194 bytes .../outline/debug/librustix_outline_x86_64.a | Bin 5638 -> 5638 bytes 6 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d53be36b..43e64b3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -302,7 +302,7 @@ jobs: if: matrix.qemu != '' && matrix.os == 'ubuntu-latest' - run: | - cargo test --verbose --features=all-impls,procfs --release --workspace -- --nocapture + cargo test --verbose --features=all-impls,procfs,cc --release --workspace -- --nocapture env: RUST_BACKTRACE: 1 diff --git a/src/imp/linux_raw/arch/outline/debug/librustix_outline_aarch64.a b/src/imp/linux_raw/arch/outline/debug/librustix_outline_aarch64.a index a70a557b726ed1f3ac4fc1cf145633d2b787adcf..3c6ea77ed33b40cb0b6e2081cc0f956eed319699 100644 GIT binary patch delta 44 zcmX@6drWu36=uQG;*!h?26w+u1;=0oBRyl2%}<#n*%@Uv|L1zn$*8gUxyXG+0At7x Ad;kCd delta 44 zcmX@6drWu36=uQW%nAl~zfc9oUXLlr|#(K!FV= diff --git a/src/imp/linux_raw/arch/outline/debug/librustix_outline_x86_64.a b/src/imp/linux_raw/arch/outline/debug/librustix_outline_x86_64.a index 8ef4ba02820478fe8a22fe9ace0812a88c097d68..bea83c2187245d3dbb477383849b963da45b7747 100644 GIT binary patch delta 44 zcmZqEY17&8nOU&3xFoZJ!QC%Z!7*6DNYB`0GYg9q8>94Qd#>l4jOv@!MeZ{K06Cfr A*8l(j delta 44 zcmZqEY17&8nOU$nvx33hFI2%XSiwlo*o1*$GYg9q8>8fAd#>l4jH;W}MeZ{K03g>3 A>Hq)$