Downgrade objdiff-wasm Rust edition temporarily

This commit is contained in:
Luke Street 2025-03-04 23:26:10 -07:00
parent 799971d54e
commit fa4a6cadbb
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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]