Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump anyhow from 1.0.94 to 1.0.95 #171

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 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 Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ clean-rust:

# TESTING
# Some tests cannot run with other tests, they are marked as ignored so that cargo test works
# there may be tests that we really want to ignore so we cant just use --ignored and we have to
# there may be tests that we really want to ignore so we can't just use --ignored and we have to
# Specify the test name of the ignored tests that we want to run
test-rust target=default-target features="": (test-rust-int "rust" target features) (test-rust-int "c" target features) (test-seccomp target)
# unit tests
Expand Down
2 changes: 1 addition & 1 deletion proposals/NNNN-hip-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
This section is incredibly important for producing high-quality, user-focused
documentation such as release notes or a development roadmap. It should be
possible to collect this information before implementation begins, in order to
avoid requiring implementors to split their attention between writing release
avoid requiring implementers to split their attention between writing release
notes and implementing the feature itself. HIP editors should help to ensure
that the tone and content of the `Summary` section is useful for a wide audience.

Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true

[dependencies]
flatbuffers = { version = "24.3.25", default-features = false }
anyhow = { version = "1.0.94", default-features = false }
anyhow = { version = "1.0.95", default-features = false }
log = "0.4.20"
tracing = { version = "0.1.41", optional = true }
strum = {version = "0.26", default-features = false, features = ["derive"]}
Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_guest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ printf = [] # compile printf
alloca = [] # compile alloca wrapper

[dependencies]
anyhow = { version = "1.0.94", default-features = false }
anyhow = { version = "1.0.95", default-features = false }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
buddy_system_allocator = "0.11.0"
hyperlight-common = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ windows = { version = "0.59", features = [
proc-maps = "0.4.0"

[build-dependencies]
anyhow = { version = "1.0.94" }
anyhow = { version = "1.0.95" }
cfg_aliases = "0.2.1"
built = { version = "0.7.0", features = ["chrono", "git2"] }

Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_host/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub enum HyperlightError {
BoundsCheckFailed(u64, usize),

/// Checked Add Overflow
#[error("Couldnt add offset to base address. Offset: {0}, Base Address: {1}")]
#[error("Couldn't add offset to base address. Offset: {0}, Base Address: {1}")]
CheckedAddOverflow(u64, u64),

/// Cross beam channel receive error
Expand Down
4 changes: 2 additions & 2 deletions src/hyperlight_host/src/func/guest_dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ mod tests {

fn terminate_vcpu_after_1000ms() -> Result<()> {
// This test relies upon a Hypervisor being present so for now
// we will skip it if there isnt one.
// we will skip it if there isn't one.
if !is_hypervisor_present() {
println!("Skipping terminate_vcpu_after_1000ms because no hypervisor is present");
return Ok(());
Expand Down Expand Up @@ -433,7 +433,7 @@ mod tests {
#[test]
fn test_terminate_vcpu_calling_host_spinning_cpu() {
// This test relies upon a Hypervisor being present so for now
// we will skip it if there isnt one.
// we will skip it if there isn't one.
if !is_hypervisor_present() {
println!("Skipping test_call_guest_function_by_name because no hypervisor is present");
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ impl VMPartition {
let whvmapgparange2_func = unsafe {
match try_load_whv_map_gpa_range2() {
Ok(func) => func,
Err(e) => return Err(new_error!("Cant find API: {}", e)),
Err(e) => return Err(new_error!("Can't find API: {}", e)),
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_host/src/mem/pe/pe_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ mod tests {
load_address: 5368709120,
num_relocations: (900..1200).collect(),
// range of possible # of relocations
// (hardware dependant)
// (hardware dependent)
}
} else {
PEFileTest {
Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_host/src/sandbox/run_options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ limitations under the License.
use tracing::{instrument, Span};

/// Configuration options for setting up a new `UninitializedSandbox` and
/// subsequent inititialized sandboxes, including `MultiUseSandbox`.
/// subsequent initialized sandboxes, including `MultiUseSandbox`.
///
/// A `SandboxRunOptions` instance must be created with either in-process
/// or in-hypervisor execution mode, and then can optionally be augmented
Expand Down
2 changes: 1 addition & 1 deletion src/hyperlight_testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hyperlight-testing"
edition = "2021"

[dependencies]
anyhow = "1.0.94"
anyhow = "1.0.95"
log = "0.4"
once_cell = "1.19"
tracing = { version = "0.1.41", features = ["log"] }
Expand Down
Loading