Skip to content

Commit 5e73ee3

Browse files
authored
Check whether smoldot-light compiles for no_std (#1281)
* Check on CI whether library compiles for no_std * Update checkout action * Missing -Z unstable-options * Also compile smoldot-light * Update action a bit * Overwrite ruzstd to try it out * Forgot default-features = false * Change target * Use a specific nightly * Fix toolchain name * Fix toolchain name again * Try simplify the build * --keep-going is unstable * Only check the smoldot library for now * Check whether `smoldot-light` compiles for no_std
1 parent 60d3773 commit 5e73ee3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
- uses: Swatinem/rust-cache@v2
108108
# We use `thumbv7m-none-eabi` as this target seems to generally work fine and doesn't support `std`. Many targets unfortunately have Rust/LLVM bugs preventing compilation.
109109
- run: RUSTFLAGS=-Dwarnings cargo build --package smoldot --locked --no-default-features --target=thumbv7m-none-eabi
110+
- run: RUSTFLAGS=-Dwarnings cargo build --package smoldot-light --locked --no-default-features --target=thumbv7m-none-eabi
110111

111112
fuzzing-binaries-compile:
112113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)