Skip to content

Commit a1fa074

Browse files
authored
ci: bring back bare metal OS builds (#105)
1 parent b840ddb commit a1fa074

File tree

3 files changed

+5
-75
lines changed

3 files changed

+5
-75
lines changed

.github/workflows/rustls-rustcrypto.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,18 @@ jobs:
5454
- 1.85.0 # MSRV
5555
- stable
5656
target:
57-
# - armv7a-none-eabi
58-
# - thumbv7em-none-eabi
57+
- armv7a-none-eabi
58+
- thumbv7em-none-eabi
5959
- wasm32-unknown-unknown
6060
steps:
6161
- uses: actions/checkout@v4
6262
- uses: dtolnay/rust-toolchain@master
6363
with:
6464
toolchain: ${{ matrix.rust }}
6565
targets: ${{ matrix.target }}
66-
- run: cargo build --no-default-features --features tls12,alloc --release --target ${{ matrix.target }}
66+
- env:
67+
RUSTFLAGS: --cfg getrandom_backend="unsupported"
68+
run: cargo build --no-default-features --features tls12,alloc --release --target ${{ matrix.target }}
6769

6870
test:
6971
strategy:

Cargo.lock

Lines changed: 0 additions & 69 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ sha2 = { version = "=0.11.0-rc.4", default-features = false }
4040
signature = { version = "3.0.0-rc.9", default-features = false }
4141
x25519-dalek = { version = "3.0.0-pre.5", default-features = false }
4242

43-
[target.'cfg(target_arch = "wasm32")'.dependencies]
44-
getrandom = { version = "=0.4.0-rc.1", default-features = false, features = ["wasm_js"] }
45-
4643
[features]
4744
default = ["std", "tls12", "zeroize"]
4845
logging = ["rustls/logging"]

0 commit comments

Comments
 (0)