Target definition for wasm32-wali-linux-musl to support the Wasm Linux

Interface

This commit does not patch libc, stdarch, or cc
This commit is contained in:
Arjun Ramesh 2024-07-02 18:19:42 -04:00
parent 9fb94b32df
commit 336a327f7c
14 changed files with 352 additions and 20 deletions

View file

@ -72,9 +72,12 @@ pub const unwinder_private_data_size: usize = 2;
#[cfg(any(target_arch = "riscv64", target_arch = "riscv32"))]
pub const unwinder_private_data_size: usize = 2;
#[cfg(target_os = "emscripten")]
#[cfg(all(target_arch = "wasm32", target_os = "emscripten"))]
pub const unwinder_private_data_size: usize = 20;
#[cfg(all(target_arch = "wasm32", target_os = "linux"))]
pub const unwinder_private_data_size: usize = 2;
#[cfg(all(target_arch = "hexagon", target_os = "linux"))]
pub const unwinder_private_data_size: usize = 35;