在 Linux 上支持 `fstat64`
作者: Jefffrey创建于 2026年8月27日更新于 2026年9月4日
标签C-enhancementA-shims
The main use case is to support reopen in tempfile:
#[cfg(test)]
mod tests {
#[test]
fn test123() {
let a = tempfile::NamedTempFile::new().unwrap();
a.reopen().unwrap();
}
}tempfile = "3.27.0"cargo 1.100.0-nightly (e8cb624d5 2026-08-22)
Currently, the following error is reported when running the test:
内容来源: rust-lang/miri