DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
434 stars 59 forks source link

use global wasi-sdk if WASI_SDK env is set #275

Closed Gentle closed 4 months ago

Gentle commented 4 months ago

this patch allows to use an external wasi sdk by setting the environment variable WASI_SDK to the path to be used.

My usecase is that I have a wasi-sdk for linux-aarch64 installed in /opt/wasi-sdk and there is currently no binary package to install for that architecture

DelSkayn commented 4 months ago

Looks good! Thanks for the PR!