Skip to content
Open
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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
wasmtime = "23.0.1"
wasmtime = { version = "24.0.0", default-features = false, features = ["cranelift", "parallel-compilation", "std", "runtime"] }
anyhow = "1.0.72"
lazy_static = "1.4.0"
more-asserts = "0.3.1"
Expand Down
6 changes: 3 additions & 3 deletions src/expect_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub struct ExpectGetCurrentTimeNanos<'a> {
}

impl<'a> ExpectGetCurrentTimeNanos<'a> {
pub fn expecting(tester: &'a mut Tester) -> ExpectGetCurrentTimeNanos {
pub fn expecting(tester: &'a mut Tester) -> ExpectGetCurrentTimeNanos<'a> {
ExpectGetCurrentTimeNanos { tester: tester }
}

Expand All @@ -44,7 +44,7 @@ pub struct ExpectGetBufferBytes<'a> {
}

impl<'a> ExpectGetBufferBytes<'a> {
pub fn expecting(tester: &'a mut Tester, buffer_type: Option<i32>) -> ExpectGetBufferBytes {
pub fn expecting(tester: &'a mut Tester, buffer_type: Option<i32>) -> ExpectGetBufferBytes<'a> {
ExpectGetBufferBytes {
tester: tester,
buffer_type: buffer_type,
Expand All @@ -66,7 +66,7 @@ pub struct ExpectGetHeaderMapPairs<'a> {
}

impl<'a> ExpectGetHeaderMapPairs<'a> {
pub fn expecting(tester: &'a mut Tester, map_type: Option<i32>) -> ExpectGetHeaderMapPairs {
pub fn expecting(tester: &'a mut Tester, map_type: Option<i32>) -> ExpectGetHeaderMapPairs<'a> {
ExpectGetHeaderMapPairs {
tester: tester,
map_type: map_type,
Expand Down
4 changes: 2 additions & 2 deletions src/settings_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub struct DefaultBufferBytes<'a> {
}

impl<'a> DefaultBufferBytes<'a> {
pub fn expecting(tester: &'a mut Tester, buffer_type: i32) -> DefaultBufferBytes {
pub fn expecting(tester: &'a mut Tester, buffer_type: i32) -> DefaultBufferBytes<'a> {
DefaultBufferBytes {
tester: tester,
buffer_type: buffer_type,
Expand All @@ -42,7 +42,7 @@ pub struct DefaultHeaderMapPairs<'a> {
}

impl<'a> DefaultHeaderMapPairs<'a> {
pub fn expecting(tester: &'a mut Tester, map_type: i32) -> DefaultHeaderMapPairs {
pub fn expecting(tester: &'a mut Tester, map_type: i32) -> DefaultHeaderMapPairs<'a> {
DefaultHeaderMapPairs {
tester: tester,
map_type: map_type,
Expand Down
Loading