feat(tvix/castore): Compile fix for Darwin
Towards https://b.tvl.fyi/issues/264 Change-Id: If8fa912ae3fb2987b761f649ab738529ebf3b2e8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10970 Autosubmit: Peter Kolloch <info@eigenvalue.net> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
0db46dacea
commit
5777050821
1 changed files with 3 additions and 0 deletions
|
@ -415,6 +415,9 @@ where
|
|||
Node::Symlink(_) => libc::S_IFLNK,
|
||||
};
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
let ty = ty as u32;
|
||||
|
||||
let written = add_entry(fuse_backend_rs::api::filesystem::DirEntry {
|
||||
ino,
|
||||
offset: offset + i as u64 + 1,
|
||||
|
|
Loading…
Reference in a new issue