blob: 9ccecd5af387c411bb0d88856936a9753a1b5a0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Prevent the manylinux wheel assert from expecting
results from --zig when it wasn't used.
--- a/tests/common/integration.rs
+++ b/tests/common/integration.rs
@@ -44,11 +44,13 @@
cli.push(bindings);
}
+ let mut zig = zig;
if zig && (env::var("GITHUB_ACTIONS").is_ok() || Zig::find_zig().is_ok()) {
cli.push("--zig")
} else {
cli.push("--compatibility");
cli.push("linux");
+ zig = false;
}
let options: BuildOptions = BuildOptions::try_parse_from(cli)?;
|