Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/grate-rs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ edition = "2024"

[dependencies]
libc = "0.2"
fdtables = { git = "https://github.com/Lind-Project/lind-wasm", branch = "main", subdir = "src/fdtables", default-features = false, features = ["muthashmax"] }
40 changes: 0 additions & 40 deletions lib/grate-rs/src/constants/error.rs

This file was deleted.

6 changes: 6 additions & 0 deletions lib/grate-rs/src/constants/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@ pub const F_GETFL: i32 = 3;

pub const S_IRUSR: u32 = 0o400;
pub const S_IWUSR: u32 = 0o200;
pub const S_IXUSR: u32 = 0o100;

pub const S_IFDIR: u32 = 0o4_0000;

pub const F_OK: i32 = 0;
pub const R_OK: i32 = 4;
pub const W_OK: i32 = 2;
pub const X_OK: i32 = 1;
Loading