Skip to content

Commit 7f96692

Browse files
committed
Fix rebase errors
1 parent 8093926 commit 7f96692

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/std/src/errors/std_error.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -765,10 +765,8 @@ mod tests {
765765

766766
#[test]
767767
fn from_std_str_utf8error_works() {
768-
let broken = b"Hello \xF0\x90\x80World";
769-
#[allow(unknown_lints)]
770-
#[allow(invalid_from_utf8)]
771-
let error: StdError = str::from_utf8(broken).unwrap_err().into();
768+
let broken = Vec::from(b"Hello \xF0\x90\x80World" as &[u8]);
769+
let error: StdError = str::from_utf8(&broken).unwrap_err().into();
772770
match error {
773771
StdError::InvalidUtf8 { msg, .. } => {
774772
assert_eq!(msg, "invalid utf-8 sequence of 3 bytes from index 6")

packages/vm/src/modules/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ mod pinned_memory_cache;
55
mod versioning;
66

77
pub use cached_module::CachedModule;
8-
pub use file_system_cache::{FileSystemCache, NewFileSystemCacheError};
8+
pub use file_system_cache::FileSystemCache;
99
pub use in_memory_cache::InMemoryCache;
1010
pub use pinned_memory_cache::PinnedMemoryCache;
1111
pub use versioning::current_wasmer_module_version;

packages/vm/src/wasm_backend/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ mod limiting_tunables;
55

66
pub use compile::compile;
77
pub use engine::{make_compiling_engine, make_runtime_engine};
8-
pub use limiting_tunables::LimitingTunables;

0 commit comments

Comments
 (0)