Skip to content

Commit

Permalink
Merge pull request #1389 from GuillaumeGomez/freebsd-disk-io
Browse files Browse the repository at this point in the history
Add disk I/O support on freebsd
  • Loading branch information
GuillaumeGomez authored Nov 25, 2024
2 parents 88f9c4b + 48d04ec commit 1fd8cd1
Show file tree
Hide file tree
Showing 7 changed files with 435 additions and 50 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,3 +120,4 @@ tempfile = "3.9"
name = "simple"
path = "examples/simple.rs"
required-features = ["default"]
doc-scrape-examples = true
2 changes: 0 additions & 2 deletions src/common/disk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ impl Disk {

/// Returns number of bytes read and written by the disk
///
/// ⚠️ Note that FreeBSD is not yet supported
///
/// ```no_run
/// use sysinfo::Disks;
///
Expand Down
Loading

0 comments on commit 1fd8cd1

Please sign in to comment.