You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With current usage in vergen crate, sysinfo accesses all filesystems on the host. If there is a network filesystem that cannot be mounted (e.g. it is in a different network), sysinfo's System::new_all() might be stuck for some time.
In my case, this is automount entries with content from my NAS server that causing the issue.
How to reproduce (currently inaccessible network filesystem should exist):
Within a rust project (e.g. created with cargo new vergen-sysinfo-test), create a build.rs with the following content:
* Do not collect disks with si
Fix: #266
* Add `RefreshKind` support to `sysinfo`
* version bump for next release
* Add better doccs to `sysinfo_refresh_kind`
* adjust docs for sysinfo_refresh_kind
---------
Co-authored-by: Alexander Koptelov <alexander.koptelov@viablesystems.io>
With current usage in
vergen
crate, sysinfo accesses all filesystems on the host. If there is a network filesystem that cannot be mounted (e.g. it is in a different network), sysinfo'sSystem::new_all()
might be stuck for some time.In my case, this is
automount
entries with content from my NAS server that causing the issue.How to reproduce (currently inaccessible network filesystem should exist):
Within a rust project (e.g. created with
cargo new vergen-sysinfo-test
), create abuild.rs
with the following content:and run
The text was updated successfully, but these errors were encountered: