stanislav-tkach / os_info

Rust library to detect the operating system type
MIT License
171 stars 51 forks source link

Add information about processor architecture #335

Closed rbas closed 1 year ago

rbas commented 1 year ago

Processor architecture is also useful information. Would be nice to have it as part of Info.

_Actually, I have already use-case. This crate is used by Starship and I would display architecture in my command line promt. I'm using arm architecture from Apple and switching terminals in between that and emulated x86_64._

stanislav-tkach commented 1 year ago

Closed by https://github.com/stanislav-tkach/os_info/pull/336.

stanislav-tkach commented 1 year ago

What do you think about making the architecture enum instead of string?