Comments (4)
I just had someone test it on a mac, and at least it compiles now. Getting the username also works. Getting the OS or computer name fails at runtime and getting the env simply returns "unknown".
from whoami.
Next time I use a Mac, I'll try and fix it.
from whoami.
Update: I finally got around to testing it on a Mac and I fixed getting the OS name, computer name and environment. whoami
0.4 is out on crates.io with the changes.
from whoami.
Cool, thanks.
from whoami.
Related Issues (20)
- Use Result enum instead of hardcoding "Unknown" username HOT 1
- Better Document The Testing Procedure
- Create 2.0.0 Pre-release
- WebAssembly Unit Tests
- add AzureAD login HOT 4
- whoami 2.0: switch to `std::ffi`
- Redox Support
- Commit Cargo.lock
- Enumerate Languages And Dialect Regions
- Expose unmodified hostname (non-lowercase) HOT 4
- 1.5.0 Release HOT 1
- Call For Additional Maintainers
- WhoAmI 2.0 Roadmap / Mentoring
- Add /data directory
- Crash on illumos due to different passwd struct definition HOT 6
- Switch to using libc dependency HOT 1
- Switch to using nix dependency (whoami 2.0)
- Create RUSTSEC advisory for illumos stack buffer overflow for 1.4.x HOT 8
- Decide Official MSRV Policy for WhoAmI 2.x HOT 1
- Remove infallible implementations (whoami 2.0)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whoami.