usecap_tempfile::tempdir;pubusecap_tempfile::TempDir;#[allow(unused)]pubfntmpdir()-> TempDir{// It's ok to wrap this in an unsafe block, rather than an unsafe function,
// because this function is only used by tests.
unsafe{tempdir()}.expect("expected to be able to create a temporary directory")}