Skip to content

Commit

Permalink
specify the features that the actor-watermark example requires
Browse files Browse the repository at this point in the history
this way it won't be compiled by `cargo b --examples`
it'll be compiled by 'cargo b --examples --features actor-watermark`
  • Loading branch information
japaric committed May 31, 2022
1 parent f7e1519 commit 461da31
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ version = "1.1.2"
[lib]
name = "rtic"

[[example]]
name = "actor-watermark"
required-features = ["memory-watermark"]

[dependencies]
cortex-m = "0.7.0"
cortex-m-rtic-macros = { path = "macros", version = "1.1.1" }
Expand Down

0 comments on commit 461da31

Please sign in to comment.