Skip to content

Commit c9dd194

Browse files
Set RUSTFLAGS for custom getrandom_backend in build and test jobs
1 parent d5351b3 commit c9dd194

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/rustls-rustcrypto.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ jobs:
6464
toolchain: ${{ matrix.rust }}
6565
targets: ${{ matrix.target }}
6666
- run: cargo build --no-default-features --features tls12,full,alloc --release --target ${{ matrix.target }}
67-
67+
env:
68+
RUSTFLAGS: --cfg getrandom_backend="custom"
6869
test:
6970
strategy:
7071
matrix:
@@ -100,3 +101,5 @@ jobs:
100101
targets: ${{ matrix.target }}
101102
- uses: RustCrypto/actions/cross-install@master
102103
- run: cross test --release --target ${{ matrix.target }} --all-features
104+
env:
105+
RUSTFLAGS: --cfg getrandom_backend="custom"

0 commit comments

Comments
 (0)