diff --git a/objdiff-wasm/Cargo.toml b/objdiff-wasm/Cargo.toml index a494682..a85c9e3 100644 --- a/objdiff-wasm/Cargo.toml +++ b/objdiff-wasm/Cargo.toml @@ -1,7 +1,9 @@ [package] name = "objdiff-wasm" version.workspace = true -edition.workspace = true +# TODO: Update to 2024 +# https://github.com/bytecodealliance/wit-bindgen/pull/1183 +edition = "2021" rust-version.workspace = true authors.workspace = true license.workspace = true diff --git a/objdiff-wasm/src/cabi_realloc.rs b/objdiff-wasm/src/cabi_realloc.rs index da48b5c..40107ae 100644 --- a/objdiff-wasm/src/cabi_realloc.rs +++ b/objdiff-wasm/src/cabi_realloc.rs @@ -20,7 +20,7 @@ //! this is defined as a "weak" symbol. This means that other definitions are //! allowed to overwrite it if they are present in a compilation. -use alloc::{Layout, alloc}; +use alloc::{alloc, Layout}; use core::ptr; #[used]