Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement stringref based on libdyntype #29

Merged
merged 15 commits into from
Oct 16, 2023

Conversation

xujuntwt95329
Copy link
Contributor

@xujuntwt95329 xujuntwt95329 commented Oct 15, 2023

To use stringref feature:

  1. clone WAMR stringref branch

    cd runtime-library/deps
    # backup original WAMR folder if exists
    git clone --branch stringref_dev https://github.com/yviansu/wasm-micro-runtime.git wamr-gc
  2. build iwasm_gc with stringref feature

    cd runtime-library
    mkdir build && cd build
    cmake .. -DWAMR_BUILD_STRINGREF=1
    make
  3. build app with stringref feature

    node cli/ts2wasm.js test.ts --enableStringRef  -o test.wasm

@xujuntwt95329 xujuntwt95329 merged commit 34c2437 into web-devkits:main Oct 16, 2023
3 checks passed
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.

2 participants