diff --git a/Cargo.lock b/Cargo.lock index 0e484ae9..2533ecf7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1858,6 +1858,7 @@ dependencies = [ [[package]] name = "randomx-rs" version = "1.1.15" +source = "git+https://github.com/spacemeshos/randomx-rs?rev=18080c74da8b179a2e99d2eef4e0c0279fd6f75a#18080c74da8b179a2e99d2eef4e0c0279fd6f75a" dependencies = [ "bitflags", "libc", diff --git a/profiler/src/util/linux.rs b/profiler/src/util/linux.rs index 3de8ede2..e030d403 100644 --- a/profiler/src/util/linux.rs +++ b/profiler/src/util/linux.rs @@ -1,4 +1,4 @@ -use std::{error::Error, fs::File, fs::OpenOptions, os::fd::AsRawFd, path::Path}; +use std::{error::Error, fs::File, os::fd::AsRawFd, path::Path}; pub(crate) fn open_without_cache(path: &Path) -> Result> { let file = File::open(path)?;