File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
cargo_build_script/tools_exec Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 22pub fn test_tool_exec ( ) {
33 let tool_path = env ! ( "TOOL_PATH" ) ;
44 assert ! (
5- tool_path. contains( "-exec-" ) ,
6- "tool_path did not contain '-exec-'" ,
5+ tool_path. contains( "-exec-" ) || tool_path. contains( "-exec/bin/" ) ,
6+ "tool_path did not contain '-exec-' or '-exec/bin'\n `{}`" ,
7+ tool_path,
78 ) ;
89}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ def _build_script_deps_test_impl(ctx):
4242 if output .path .endswith (".rlib" )
4343 ][0 ]
4444
45- asserts .true (env , "-exec-" in rlib_output .path )
45+ asserts .true (env , "-exec-" not in rlib_output . path or "-exec/bin/" not in rlib_output .path )
4646 return analysistest .end (env )
4747
4848build_script_deps_test = analysistest .make (
You can’t perform that action at this time.
0 commit comments