Skip to content

Commit

Permalink
Force target for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino authored and gmacd committed Sep 19, 2023
1 parent 91e5ced commit 21a04ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ fn test(build_params: &BuildParams) -> Result<()> {
cmd.current_dir(workspace());
cmd.arg("test");
cmd.arg("--workspace");
cmd.arg("--target").arg("x86_64-unknown-linux-gnu");
cmd.arg("--config").arg("build.rustflags='--cfg platform=\"virt\"'");
build_params.add_build_arg(&mut cmd);
if build_params.verbose {
Expand Down

0 comments on commit 21a04ba

Please sign in to comment.