Skip to main content

arborium_sysroot/
lib.rs

1// This crate provides the wasm-sysroot path to dependent crates
2// via the DEP_ARBORIUM_SYSROOT_PATH environment variable set by build.rs,
3// and includes WASM allocator implementations for browser compatibility.
4
5// Include the WASM allocator module when targeting WASM
6#[cfg(target_family = "wasm")]
7mod wasm;
8
9// Re-export allocator symbols for external crates
10#[cfg(target_family = "wasm")]
11pub use wasm::*;