3 ms·
It's not really cross platform - whoami for example depends on libc which afaik isn't native on Windows. I wrote one of the first utilities for this when it wa
by elktea 12y ago
It's not really cross platform - whoami for example depends on libc which afaik isn't native on Windows.
I wrote one of the first utilities for this when it was first opened up for collaboration, so I hope it succeeds :) I need to go back and write tests for my util.
- icebraining 12y agoThere are many "libc"s; according to the docs, Rust's libc is a module that binds to the platform-specific libc implementation: http://static.rust-lang.org/doc/0.10/std/libc/index.html http://static.rust-lang.org/doc/0.10/std/libc/index.html