Skip to content

docgen: add additional_option token; fix wasm-freestanding example#14890

Merged
Vexu merged 1 commit intoziglang:masterfrom
jagt:master
Mar 30, 2023
Merged

docgen: add additional_option token; fix wasm-freestanding example#14890
Vexu merged 1 commit intoziglang:masterfrom
jagt:master

Conversation

@jagt
Copy link
Contributor

@jagt jagt commented Mar 12, 2023

  • Fix usage string --skip-code-test to --skip-code-tests.
  • Added a token {#additonal_option|-rdynamic#} which introduce arbitrary flag to build-exe/obj/lib example.
  • Fix wasm freestanding example, it now needs explicit export symbols to work.

This fixes #14818. The wasm freestanding shell now looks like this:

 zig build-lib math.zig -target wasm32-freestanding -dynamic -rdynamic

Cheers!

- Fix usage string `--skip-code-test` to `--skip-code-tests`.
- Added a token `{#additonal_option|-rdynamic#}` which introduce arbitrary flag to `build-exe/obj/lib` example.
- Fix wasm freestanding example, it now needs explicit export symbols to work.
@Vexu Vexu merged commit c964e10 into ziglang:master Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language reference: Update WebAssembly example on how to export a function to the host

2 participants