()
| 4 | |
| 5 | #[allow(unused)] |
| 6 | pub fn tmpdir() -> TempDir { |
| 7 | // It's ok to wrap this in an unsafe block, rather than an unsafe function, |
| 8 | // because this function is only used by tests. |
| 9 | unsafe { tempdir(ambient_authority()) } |
| 10 | .expect("expected to be able to create a temporary directory") |
| 11 | } |
no outgoing calls