Skip to content

Commit

Permalink
Merge pull request #295 from spacemeshos/dependabot/cargo/windows-0.58.0
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu authored Jul 9, 2024
2 parents 8006115 + d5fa8ce commit a8ac7cc
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 47 deletions.
101 changes: 56 additions & 45 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion profiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rayon = "1.10.0"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0.120"

windows = { version = "0.57", features = [
windows = { version = "0.58", features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_Security",
Expand Down
2 changes: 1 addition & 1 deletion profiler/src/util/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub(crate) fn open_without_cache(path: &Path) -> eyre::Result<File> {
None,
OPEN_EXISTING,
FILE_FLAG_NO_BUFFERING, // <- drops cache
HANDLE(0),
HANDLE(std::ptr::null_mut()),
)
}
.wrap_err("opening file to drop cache")?;
Expand Down

0 comments on commit a8ac7cc

Please sign in to comment.