Skip to content

Commit

Permalink
Changes for shuttle test
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Jul 2, 2024
1 parent 0faf3f1 commit 4cb286c
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 121 deletions.
192 changes: 75 additions & 117 deletions Cargo.lock

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

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ gdbstub = { version = "0.6.2", optional = true }
goblin = "0.5.1"
hash32 = "0.2.0"
log = "0.4.2"
loom = {path = "/Users/lucasste/Documents/loom"}
# loom = {path = "/Users/lucasste/Documents/loom"}
shuttle = "0.7.0"
rand = { version = "0.8.5", features = ["small_rng"]}
rustc-demangle = "0.1"
scroll = "0.11"
Expand Down
2 changes: 1 addition & 1 deletion src/assembler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use std::{collections::HashMap};
use std::sync::Arc;

#[cfg(feature = "loom-test")]
use loom::sync::Arc;
use shuttle::sync::Arc;


#[derive(Clone, Copy, Debug, PartialEq)]
Expand Down
2 changes: 1 addition & 1 deletion src/elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ use std::{collections::BTreeMap, fmt::Debug, mem, ops::Range, str};
use std::sync::Arc;

#[cfg(feature = "loom-test")]
use loom::sync::Arc;
use shuttle::sync::Arc;

/// Error definitions
#[derive(Debug, thiserror::Error, PartialEq, Eq)]
Expand Down
2 changes: 1 addition & 1 deletion src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use std::{collections::BTreeMap, fmt::Debug};
use std::sync::Arc;

#[cfg(feature = "loom-test")]
use loom::sync::Arc;
use shuttle::sync::Arc;

/// Shift the RUNTIME_ENVIRONMENT_KEY by this many bits to the LSB
///
Expand Down

0 comments on commit 4cb286c

Please sign in to comment.