{"ast_node_type":"function","tokens":[{"end":46,"kind":"keyword","start":0,"text":"pub"}]}
pub fn path_to_c_string(p: &Path) -> CString {
#[cfg(any(unix, all(target_os = "wasi", target_env = "p1")))]
    use std::ffi::OsStr;