Skip to content

Commit b13fb22

Browse files
committed
specify the features that the actor-watermark example requires
this way it won't be compiled by `cargo b --examples` it'll be compiled by 'cargo b --examples --features actor-watermark`
1 parent d8678d7 commit b13fb22

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ version = "1.0.0"
1919
[lib]
2020
name = "rtic"
2121

22+
[[example]]
23+
name = "actor-watermark"
24+
required-features = ["memory-watermark"]
25+
2226
[dependencies]
2327
cortex-m = "0.7.0"
2428
cortex-m-rtic-macros = { path = "macros", version = "1.0.0" }

0 commit comments

Comments
 (0)