Skip to main content

Module project

Module project 

Source

Structs§

PerFileModule
A single per-file Zig module with its dependency info.
ProjectOptions
Project generation options

Functions§

generate
Generate the full Zig library project.
generate_build_zig
generate_host_icu_stubs
Generate host_icu_stubs.zig — stub implementations of the host C ABI ICU functions so that zig build test can link a standalone test binary. The real implementations live in js2rust-bridge (native_icu.rs) and are linked when Rust drives the final executable build.
generate_host_regex_stubs
Generate host_regex_stubs.zig — stub implementations of the host C ABI regex functions so that zig build test can link a standalone test binary. The real implementations live in js2rust-bridge (native_regex.rs) and are linked when Rust drives the final executable build.