summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2023-08-23github/workflows: No need to download the wasi-sysrootAndrew Clayton1-3/+2
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>
2023-08-23shared.mk: Ensure WASI_SYSROOT is exported to the environmentAndrew Clayton1-0/+2
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>
2023-08-23The 'master' branch was renamed 'main'Andrew Clayton3-8/+8
Requested-by: Liam Crilly <liam@nginx.com> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-08-22README.md: Various updatesAndrew Clayton1-24/+31
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>
2023-08-22github/workflows: Add shared.mk to the build_tests.yaml pathsAndrew Clayton1-0/+2
We have builds triggered on Makefile changes and shared.mk is included in the Makefile. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-08-22github/workflows: Switch actions to master branchAndrew Clayton1-2/+2
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>
2023-08-21Initial commitv0.1.0Andrew Clayton48-0/+4307
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>