mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-25 21:19:35 +01:00
xtask: hard-enable the memory-watermark feature
This commit is contained in:
parent
3fdc01849e
commit
5e7481fc66
1 changed files with 4 additions and 2 deletions
|
@ -118,9 +118,11 @@ fn main() -> anyhow::Result<()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn run_test(target: &str, examples: &[String]) -> anyhow::Result<()> {
|
fn run_test(target: &str, examples: &[String]) -> anyhow::Result<()> {
|
||||||
|
const FEATURES: &str = "memory-watermark"; // required by actor-watermark
|
||||||
|
|
||||||
arm_example(&CargoCommand::BuildAll {
|
arm_example(&CargoCommand::BuildAll {
|
||||||
target,
|
target,
|
||||||
features: None,
|
features: Some(FEATURES),
|
||||||
mode: BuildMode::Release,
|
mode: BuildMode::Release,
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
@ -128,7 +130,7 @@ fn run_test(target: &str, examples: &[String]) -> anyhow::Result<()> {
|
||||||
let cmd = CargoCommand::Run {
|
let cmd = CargoCommand::Run {
|
||||||
example,
|
example,
|
||||||
target,
|
target,
|
||||||
features: None,
|
features: Some(FEATURES),
|
||||||
mode: BuildMode::Release,
|
mode: BuildMode::Release,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue