diff options
author | Andrew Clayton <a.clayton@nginx.com> | 2023-08-26 02:17:15 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2023-08-26 02:44:54 +0100 |
commit | 1e045a5d5ca2e3e28119343970b2ccff13a64c65 (patch) | |
tree | 2764abaac62b5e338976ff42c2ff77db7fc1912a /src/c/libunit-wasm.c | |
parent | c78e268845e980e9e7ed1583c0581615d52580d5 (diff) | |
download | unit-wasm-1e045a5d5ca2e3e28119343970b2ccff13a64c65.tar.gz unit-wasm-1e045a5d5ca2e3e28119343970b2ccff13a64c65.tar.bz2 |
Rust/unit-wasm-sys: Don't require the wasi-sysroot
When I added the luw_http_hdr_get_value() function I needed to include
strings.h, unfortunately I added it to unit-wasm.h instead of
libunit-wasm.c
This then meant that we needed to point bindgen/clang, for generating
the bindings, to the wasi-sysroot for the strings.h file. I guess this
is a system dependant include or something and when we use the
wasm32-wasi target in clang it uses a paired down include search path
list, none of which have strings.h
This then had the knock on effect of requiring to inform cargo build of
the wasi-sysroot path.
Now that we put strings.h in the right place, we don't need the
wasi-sysroot when building the rust stuff.
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/c/libunit-wasm.c')
0 files changed, 0 insertions, 0 deletions