mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-06 18:48:57 +00:00
The type of `libc::S_ISVTX` varies between linux (u32) and macos (u16). The type of the `mode` parameter in https://doc.rust-lang.org/std/os/unix/fs/trait.PermissionsExt.html#tymethod.set_mode is defined to match linux as `u32`, so let's explicitly cast `S_ISVTX` to match.