Support Pixi/Conda wasm2c trampolines and runtime fetch fallback
Resolve Pixi trampoline_configuration/wasm2c.json and Conda/Pixi env prefixes in native/build_native.py, add automatic version-matched runtime download from WebAssembly/wabt into build/wasm2c-rt-<ver>/ when binary-only packages (such as conda-forge wabt) omit wasm-rt.h/wasm-rt-impl.c, search Conda/Pixi prefixes for OpenSSL with rpath, and update README.md.
This commit is contained in:
1 parent
dba2cbcdca
commit
ed06fa994a
2 files changed
+167
-26
No files matched your search
@@ -37,7 +37,7 @@ just run-native -fsSI https://example.com
|
||||
just test-native
|
||||
```
|
||||
|
||||
If WABT's `wasm2c` runtime sources (`wasm-rt.h` and `wasm-rt-impl.c`) live in a non-standard path, set `WASM2C_RUNTIME_DIR=/path/to/wabt/wasm2c`.
|
||||
If WABT's `wasm2c` runtime sources (`wasm-rt.h` and `wasm-rt-impl.c`) are not found locally (e.g. Pixi/Conda packages that omit headers), `just native` automatically fetches the version-matched runtime files from `WebAssembly/wabt` into `build/`, or honors `WASM2C_RUNTIME_DIR=/path/to/wabt/wasm2c`.
|
||||
|
||||
## Supported Options
|
||||
|
||||
|
||||
Reference in new issue
Block a user