(mode: &str)
| 9781 | } |
| 9782 | |
| 9783 | fn run_validate_script(mode: &str) -> Result<()> { |
| 9784 | let xtask = env::current_exe().context("resolve current xtask executable")?; |
| 9785 | let mut command = command_for_host("scripts/validate.sh"); |
| 9786 | command.arg(mode).env(VALIDATE_XTASK_ENV, xtask); |
| 9787 | run_command(&mut command) |
| 9788 | } |
| 9789 | |
| 9790 | fn command_for_host(command: &str) -> Command { |
| 9791 | if cfg!(windows) |
no test coverage detected