Skip to content

Commit fa4a6ca

Browse files
committed
Downgrade objdiff-wasm Rust edition temporarily
1 parent 799971d commit fa4a6ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

objdiff-wasm/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
[package]
22
name = "objdiff-wasm"
33
version.workspace = true
4-
edition.workspace = true
4+
# TODO: Update to 2024
5+
# https://github.com/bytecodealliance/wit-bindgen/pull/1183
6+
edition = "2021"
57
rust-version.workspace = true
68
authors.workspace = true
79
license.workspace = true

objdiff-wasm/src/cabi_realloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! this is defined as a "weak" symbol. This means that other definitions are
2121
//! allowed to overwrite it if they are present in a compilation.
2222
23-
use alloc::{Layout, alloc};
23+
use alloc::{alloc, Layout};
2424
use core::ptr;
2525

2626
#[used]

0 commit comments

Comments
 (0)