chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

16
vendor/tokio/tests/fs_write.rs vendored Normal file
View File

@@ -0,0 +1,16 @@
#![warn(rust_2018_idioms)]
#![cfg(all(feature = "full", not(target_os = "wasi")))] // WASI does not support all fs operations
use tempfile::tempdir;
use tokio::fs;
#[tokio::test]
async fn write() {
let dir = tempdir().unwrap();
let path = dir.path().join("test.txt");
fs::write(&path, "Hello, World!").await.unwrap();
let contents = fs::read_to_string(&path).await.unwrap();
assert_eq!(contents, "Hello, World!");
}