Age | Commit message (Collapse) | Author | Files | Lines |
|
The wasi-sysroot is now packaged by Fedora in the wasi-libc-devel &
wasi-libc-static packages (just installing wasi-libc-devel should bring
in the other if needed).
We also no longer need bindgen-cli as we are building the rust stuff
from within the build.rs files.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
If you don't have WASI_SYSROOT set in the shell and you don't specify
it in the make command, then make will try and find the wasi-sysroot in
some known locations and then set the WASI_SYSROOT accordingly.
However in this case (no shell variable and not specified in the make
command) then when it comes to building the rust stuff, cargo build
fails when trying to generate the bindings as it needs the wasi-sysroot
but doesn't pick it up from the shell environment.
Fix this by exporting WASI_SYSROOT from shared.mk
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
Requested-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
This makes some additions suggested by Liam (I didn't implement them
all, e.g I kept the $ signs in commands) and some changes of my own, e.g
expanded config and curl command in the rust quickstart section.
Suggested-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
We have builds triggered on Makefile changes and shared.mk is included
in the Makefile.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
We have switched the repository from the preview to master branch ready
for its initial release.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|
|
libunit-wasm and example C and Rust WebAssembly modules for NGINX Unit.
Co-developed-by: Timo Stark <t.stark@nginx.com>
Co-developed-by: Liam Crilly <liam@nginx.com>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
|