Skip to content

Commit 2fc53b7

Browse files
committed
Fix CI issues
1 parent c7e83c4 commit 2fc53b7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

ci/rebuild-libwit-bindgen-cabi.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub unsafe extern "C" fn $realloc(
5656
align: usize,
5757
new_len: usize,
5858
) -> *mut u8 {
59-
crate::cabi_realloc(old_ptr, old_len, align, new_len)
59+
crate::rt::cabi_realloc(old_ptr, old_len, align, new_len)
6060
}
6161
EOF
6262

crates/guest-rust/src/rt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ pub unsafe fn cabi_realloc(
117117
align: usize,
118118
new_len: usize,
119119
) -> *mut u8 {
120-
use alloc::alloc::{self, Layout};
120+
use crate::alloc::alloc::{self, Layout};
121121

122122
let layout;
123123
let ptr = if old_len == 0 {

crates/guest-rust/src/rt/wit_bindgen_cabi_realloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ pub unsafe extern "C" fn cabi_realloc_wit_bindgen_0_44_0(
77
align: usize,
88
new_len: usize,
99
) -> *mut u8 {
10-
crate::cabi_realloc(old_ptr, old_len, align, new_len)
10+
crate::rt::cabi_realloc(old_ptr, old_len, align, new_len)
1111
}

0 commit comments

Comments
 (0)