(path: impl AsRef<Path>, content: &str)
| 28 | } |
| 29 | |
| 30 | fn write_runtime_executable(path: impl AsRef<Path>, content: &str) { |
| 31 | let path = path.as_ref(); |
| 32 | fs::write(path, content).unwrap(); |
| 33 | set_executable(path); |
| 34 | } |
| 35 | |
| 36 | fn set_executable(path: &Path) { |
| 37 | #[cfg(unix)] |
no test coverage detected