We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bf73b7 commit d6d5cbcCopy full SHA for d6d5cbc
2 files changed
test/cargo_build_script/tools_exec/tools_exec.rs
@@ -2,7 +2,8 @@
2
pub fn test_tool_exec() {
3
let tool_path = env!("TOOL_PATH");
4
assert!(
5
- tool_path.contains("-exec-"),
6
- "tool_path did not contain '-exec-'",
+ tool_path.contains("-exec-") || tool_path.contains("-exec/bin/"),
+ "tool_path did not contain '-exec-' or '-exec/bin'\n`{}`",
7
+ tool_path,
8
);
9
}
test/unit/build_script_deps/build_script_deps.bzl
@@ -42,7 +42,7 @@ def _build_script_deps_test_impl(ctx):
42
if output.path.endswith(".rlib")
43
][0]
44
45
- asserts.true(env, "-exec-" in rlib_output.path)
+ asserts.true(env, "-exec-" not in rlib_output.path or "-exec/bin/" not in rlib_output.path)
46
return analysistest.end(env)
47
48
build_script_deps_test = analysistest.make(
0 commit comments