# Build WASM using Zig Build System when ther is no entry point but function to export

**URL:** <https://ziggit.dev/t/build-wasm-using-zig-build-system-when-ther-is-no-entry-point-but-function-to-export/4364>\
**Category:** Help\
**Tags:** wasm, build-system\
**Created:** [May 18, 2024, 5:04pm UTC](https://ziggit.dev/t/build-wasm-using-zig-build-system-when-ther-is-no-entry-point-but-function-to-export/4364 "2024-05-18T17:04:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Sze](https://ziggit.dev/user_avatar/ziggit.dev/sze/32/496_2.png) [@Sze](https://ziggit.dev/u/Sze)\
**Post date:** [May 18, 2024, 5:53pm UTC](https://ziggit.dev/t/build-wasm-using-zig-build-system-when-ther-is-no-entry-point-but-function-to-export/4364/4 "2024-05-18T17:53:32Z")

</div>

Funny how you and @kredati asked the same question pretty much at the same time!

> [@Building wasm with dependencies](https://ziggit.dev/t/building-wasm-with-dependencies/4362):
>
> Hi all! Long time listener, first time caller. Thanks in advance—and still kind of a n00b, so be gentle. I’ve been fighting with the Zig build system for the past few days and I’ve made some progress, but have hit a wall and am finally asking for help. I fear I’m missing something obvious. I’m trying to build a wasm module that includes dependencies. So I try the incantation: zig build-exe src/web.zig -target wasm32-freestanding -fno-entry -rdynamic I get error: no module named 'jzignet' av…

---

_[View the full topic](https://ziggit.dev/t/build-wasm-using-zig-build-system-when-ther-is-no-entry-point-but-function-to-export/4364)._
