Skip to content

Commit

Permalink
Merge pull request #1441 from GuillaumeGomez/update
Browse files Browse the repository at this point in the history
Backport #1440 to master
  • Loading branch information
GuillaumeGomez authored Dec 27, 2024
2 parents 5421548 + 7f31783 commit c491e0a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 0.33.1

* Linux: Fix components retrieval.
* Linux: Filter out more virtual file systems for `Disk` API.
* Linux/Android: Improve `System::long_os_version()`.
* Apple: Add missing CPU brands for iPhone and iPads.
* macOS: Improve system name retrieval in `System::long_os_version()`.
* Linux/macOS: Avoid trailing whitespace and consecutive whitespace in `System::long_os_version()`.
* Windows: Fix `User::groups`.
* Improve documentation for `System::name`, `System::kernel_version`, `System::os_version`, `System::long_os_version` and `System::distribution_id`.

# 0.33.0

* Linux: Add more ARM vendor IDs.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sysinfo"
version = "0.33.0"
version = "0.33.1"
authors = ["Guillaume Gomez <[email protected]>"]
description = "Library to get system information such as processes, CPUs, disks, components and networks"
repository = "https://github.com/GuillaumeGomez/sysinfo"
Expand Down
2 changes: 1 addition & 1 deletion src/windows/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1020,5 +1020,5 @@ pub(crate) fn update_disk_usage(p: &mut ProcessInner) {

#[inline(always)]
const fn filetime_to_u64(ft: FILETIME) -> u64 {
(ft.dwHighDateTime as u64) << 32 | (ft.dwLowDateTime as u64)
((ft.dwHighDateTime as u64) << 32) | (ft.dwLowDateTime as u64)
}

0 comments on commit c491e0a

Please sign in to comment.