fn run_with_package(b: &mut Builder, package_path: &Path) -> Result<()> {
    // Forcefully set the target dir to its default location
    env::set_var("CARGO_TARGET_DIR", package_path.join("target"));
    b.capture_output(env::var(NO_CAPTURE_VAR_NAME).is_err())
        .build()
        .run()
}
/// Run the _create_ subcommand with the output capture toggled by the
/// `CARGO_WIX_TEST_NO_CAPTURE` environment variable, and the CARGO_TARGET_DIR
/// env variable set to <package path>/target.

Run the _create_ subcommand with the output capture toggled by the
`CARGO_WIX_TEST_NO_CAPTURE` environment variable, and the CARGO_TARGET_DIR
env variable set to /target.
Run the _create_ subcommand with the output capture toggled by the ` CARGO_WIX_TEST_NO_CAPTURE ` environment variable and the CARGO_TARGET_DIR env variable set to / target .
fn run_with_package(b: &mut Builder, package_path: &Path) -> Result<()> {
    // Forcefully set the target dir to its default location
    env::set_var("CARGO_TARGET_DIR", package_path.join("target"));
    b.capture_output(env::var(NO_CAPTURE_VAR_NAME).is_err())
        .build()
        .run()
}
fn run_with_package ( b : & mut Builder , package_path : & Path ) -> Result < ( ) > { // Forcefully set the target dir to its default location
 env :: set_var ( " " , package_path . join ( " " ) ) ; b . capture_output ( env :: var ( NO_CAPTURE_VAR_NAME ) . is_err ( ) ) . build ( ) . run ( ) }
Run the _create_ subcommand with the output capture toggled by the
`CARGO_WIX_TEST_NO_CAPTURE` environment variable, and the CARGO_TARGET_DIR
env variable set to <package path>/target.
Run the _create_ subcommand with the output capture toggled by the ` CARGO_WIX_TEST_NO_CAPTURE ` environment variable and the CARGO_TARGET_DIR env variable set to <package path > / target .
b
&mut Builder
package_path
&Path
b
&mut Builder
package_path
&Path