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

What is the quickjs source code? #117

Open
chenhdc opened this issue Dec 18, 2023 · 3 comments
Open

What is the quickjs source code? #117

chenhdc opened this issue Dec 18, 2023 · 3 comments

Comments

@chenhdc
Copy link

chenhdc commented Dec 18, 2023

Hi team.
Thanks for your efforts.

I'd like to see what changes you've made to the quickjs source code, but I can only see libquickjs.a and the corresponding bingding. Where can I see the corresponding source code changes?

could show me the repo? Thanks,,,

@juntao
Copy link
Member

juntao commented Dec 18, 2023

We made no change to QuickJS itself. We just extended it to add more APIs.

@chenhdc
Copy link
Author

chenhdc commented Dec 19, 2023

We made no change to QuickJS itself. We just extended it to add more APIs.

oh,thanks. I have another question, how to compile QuickJs to libquickjs.a? use wasi-sdk-20? Looking forward to your reply, thanks

@L-jasmine
Copy link
Collaborator

@chenhdc https://github.com/second-state/quickjs-wasi
This is the QuickJS repository we cloned, but we haven't made any changes.

The key to compiling QuickJS into WASI is to add a WASI macro after every wasm macro in QuickJS. This is because QuickJS already has support for wasm

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

No branches or pull requests

3 participants