Skip to content

Commit f110930

Browse files
Bump rand from 0.9.2 to 0.10.0 (#1219)
* Bump rand from 0.9.2 to 0.10.0 Bumps [rand](https://github.com/rust-random/rand) from 0.9.2 to 0.10.0. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@rand_core-0.9.2...0.10.0) --- updated-dependencies: - dependency-name: rand dependency-version: 0.10.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix to use rand::RngExt instead of use rand::Rng Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> * Fix windows issue Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 36b129a commit f110930

9 files changed

Lines changed: 351 additions & 157 deletions

File tree

Cargo.lock

Lines changed: 340 additions & 146 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hyperlight_host/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ workspace = true
2424
gdbstub = { version = "0.7.9", optional = true }
2525
gdbstub_arch = { version = "0.3.2", optional = true }
2626
goblin = { version = "0.10", default-features = false, features = ["std", "elf32", "elf64", "endian_fd"] }
27-
rand = { version = "0.9" }
27+
rand = { version = "0.10" }
2828
cfg-if = { version = "1.0.4" }
2929
libc = { version = "0.2.181" }
3030
flatbuffers = "25.12.19"

src/hyperlight_host/src/hypervisor/hyperlight_vm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1460,7 +1460,7 @@ mod tests {
14601460
use std::sync::{Arc, Mutex};
14611461

14621462
use hyperlight_common::vmem::{self, BasicMapping, Mapping, MappingKind};
1463-
use rand::Rng;
1463+
use rand::RngExt;
14641464

14651465
use super::*;
14661466
#[cfg(kvm)]

src/hyperlight_host/src/hypervisor/surrogate_process_manager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ mod tests {
342342
use std::thread;
343343
use std::time::{Duration, Instant};
344344

345-
use rand::{Rng, rng};
345+
use rand::{RngExt, rng};
346346
use windows::Win32::Foundation::HANDLE;
347347
use windows::Win32::System::Diagnostics::ToolHelp::{
348348
CreateToolhelp32Snapshot, PROCESSENTRY32, Process32First, Process32Next, TH32CS_SNAPPROCESS,

src/hyperlight_host/src/hypervisor/virtual_machine/whp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616

1717
use std::os::raw::c_void;
1818

19+
#[cfg(feature = "trace_guest")]
1920
use tracing::Span;
2021
#[cfg(feature = "trace_guest")]
2122
use tracing_opentelemetry::OpenTelemetrySpanExt;

src/hyperlight_host/src/sandbox/uninitialized_evolve.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16-
1716
#[cfg(gdb)]
1817
use std::sync::{Arc, Mutex};
1918

20-
use rand::Rng;
19+
use rand::RngExt;
2120
use tracing::{Span, instrument};
2221

2322
use super::SandboxConfiguration;

src/tests/rust_guests/dummyguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/simpleguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/tests/rust_guests/witguest/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)