Skip to content

Commit fa42bae

Browse files
committed
Added bindings for wasm32-wali-linux-musl target
1 parent 0f9f8c9 commit fa42bae

File tree

5 files changed

+1127
-2
lines changed

5 files changed

+1127
-2
lines changed

src/unix/linux_like/linux/arch/generic/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,8 @@ cfg_if! {
291291
target_arch = "riscv64",
292292
target_arch = "aarch64",
293293
target_arch = "s390x",
294-
target_arch = "loongarch64"
294+
target_arch = "loongarch64",
295+
target_arch = "wasm32"
295296
))] {
296297
pub const FS_IOC_GETFLAGS: Ioctl = 0x80086601;
297298
pub const FS_IOC_SETFLAGS: Ioctl = 0x40086602;

src/unix/linux_like/linux/musl/b64/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ cfg_if! {
109109
} else if #[cfg(any(target_arch = "loongarch64"))] {
110110
mod loongarch64;
111111
pub use self::loongarch64::*;
112+
} else if #[cfg(any(target_arch = "wasm32"))] {
113+
mod wasm32;
114+
pub use self::wasm32::*;
112115
} else {
113116
// Unknown target_arch
114117
}

0 commit comments

Comments
 (0)