Skip to content

Commit cd7f809

Browse files
committed
[WIP] no-std: add binary crate to check no_std compliance
1 parent 791b0b5 commit cd7f809

File tree

5 files changed

+1206
-0
lines changed

5 files changed

+1206
-0
lines changed

.github/workflows/ci.yml

+13
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,19 @@ jobs:
113113
- run: rustc --version
114114
- run: cargo doc --no-deps --document-private-items
115115

116+
nostd:
117+
runs-on: ubuntu-latest
118+
steps:
119+
- uses: actions/checkout@v2
120+
- uses: actions-rs/toolchain@v1
121+
with:
122+
profile: minimal
123+
toolchain: nightly-2021-07-01
124+
override: true
125+
target: thumbv7em-none-eabi
126+
# Target thumbv7em does not have std
127+
- run: cargo build --target thumbv7em-none-eabi --manifest-path no-std-check/Cargo.toml
128+
116129
udeps:
117130
runs-on: ubuntu-latest
118131
steps:

0 commit comments

Comments
 (0)