We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aaa07a commit 3dfac9aCopy full SHA for 3dfac9a
.github/workflows/ci.yml
@@ -43,8 +43,15 @@ jobs:
43
- run: cargo install cargo-readme
44
- run: cargo fmt --check
45
- run: cargo test
46
+
47
+ # Ensure that the library doesn't depend on std/alloc. A binary
48
+ # that depends on the library is used for this (instead of
49
+ # directly build the library), otherwise accidentally depending on
50
+ # `alloc` would not result in an error.
51
- name: cargo build no_std
52
run: cargo build --target thumbv7m-none-eabi --no-default-features
53
+ working-directory: ci/ensure_no_std
54
55
- run: cargo clippy --all-features
56
- run: cargo doc --all-features
57
- name: Ensure README.md is updated
0 commit comments