Skip to content

Commit

Permalink
Force target for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Sep 16, 2023
1 parent b90a527 commit 7a0ce27
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 7a0ce27

Please sign in to comment.