1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 21:47:46 +00:00

whoami: Cleanup

- Use modern conventions
- Restrict the scope of unsafe
- Do not use deprecated `std::mem::unitialized()`
- Do not bake unicode into design
This commit is contained in:
Jan Verbeek 2021-08-27 20:36:26 +02:00
parent e9d63519dd
commit 4555c85564
5 changed files with 41 additions and 59 deletions

1
Cargo.lock generated
View file

@ -3222,6 +3222,7 @@ name = "uu_whoami"
version = "0.0.7"
dependencies = [
"clap",
"libc",
"uucore",
"uucore_procs",
"winapi 0.3.9",