Skip to content

Commit 37dc22c

Browse files
committed
prefer absolute path for core crate
1 parent 67f5e8d commit 37dc22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust/src/bindgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub(super) struct FunctionBindgen<'a, 'b> {
2424
emitted_cleanup: bool,
2525
}
2626

27-
pub const POINTER_SIZE_EXPRESSION: &str = "core::mem::size_of::<*const u8>()";
27+
pub const POINTER_SIZE_EXPRESSION: &str = "::core::mem::size_of::<*const u8>()";
2828

2929
impl<'a, 'b> FunctionBindgen<'a, 'b> {
3030
pub(super) fn new(

0 commit comments

Comments
 (0)