Skip to content

Commit

Permalink
move features into ensure_no_std rather than CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
vadixidav committed Feb 3, 2022
1 parent e98e170 commit 36ccc18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci.yml
Expand Up @@ -62,12 +62,7 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: rustc
args: >-
--no-default-features
--features
nalgebra,ndarray
--target=armv7a-none-eabi
--manifest-path=ensure_no_std/Cargo.toml
args: --target=armv7a-none-eabi --manifest-path=ensure_no_std/Cargo.toml

tests:
name: tests
Expand Down
5 changes: 4 additions & 1 deletion ensure_no_std/Cargo.toml
Expand Up @@ -5,7 +5,10 @@ authors = ["Geordon Worley <vadixidav@gmail.com>"]
edition = "2018"

[dependencies]
nshare = { path = ".." }
nshare = { path = "..", default-features = false, features = [
"nalgebra",
"ndarray",
] }

[profile.dev]
panic = "abort"
Expand Down

0 comments on commit 36ccc18

Please sign in to comment.