Actor-served files: /actor/<id>/fs/
ci / check (push) Successful in 10s

File operations under /actor/<id>/fs/ become messages from `fs` to <id>
(fs_read, fs_write, fs_mkdir, fs_remove, fs_rename) with a 10 s timeout.
vfs.rs wraps the wasi:filesystem implementation of wasmtime-wasi.
This commit is contained in:
Sausage Agent
2026-10-16 01:25:11 +00:00
parent e1409b93f2
commit 2ff30ecf70
8 changed files with 866 additions and 4 deletions
+3 -2
View File
@@ -22,8 +22,9 @@ use serde::{Deserialize, Serialize};
/// Name prefix of the host's temporary files and folders. Copies skip them.
pub const TMP_PREFIX: &str = ".sausage-tmp-";
/// IDs of the actors that the host implements natively.
pub const NATIVE: &[&str] = &["broker", "console", "cargo"];
/// IDs of the actors that the host implements natively. `fs` sends the
/// requests for actor-served files (`vfs.rs`).
pub const NATIVE: &[&str] = &["broker", "console", "cargo", "fs"];
#[derive(Clone)]
pub struct World {