mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
nix: use wrappers for geteuid and getegid
The nix crate offers thin wrappers around these functions which allow us to get rid of our own libc wrappers, reducing the amount of code marked `unsafe`. Part of #12380
This commit is contained in:
committed by
Johannes Altmanninger
parent
cce788388f
commit
1f0a7e7697
@@ -46,6 +46,7 @@ nix = { version = "0.30.1", default-features = false, features = [
|
||||
"resource",
|
||||
"signal",
|
||||
"term",
|
||||
"user",
|
||||
] }
|
||||
num-traits = "0.2.19"
|
||||
once_cell = "1.19.0"
|
||||
|
||||
Reference in New Issue
Block a user