xtask: hard-enable the memory-watermark feature

This commit is contained in:
Jorge Aparicio 2022-04-01 15:47:10 +02:00
parent 3fdc01849e
commit 5e7481fc66

View file

@ -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,
}; };