summaryrefslogtreecommitdiffhomepage
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-08-23 21:22:44 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-08-23 21:29:25 +0100
commitec49ea8e1737e38b2ab704475a87d0580245dc4e (patch)
tree401143127fef5d495b1d1b6a502dc6b82f310d2a /.rustfmt.toml
parent246d9e630867378d2796adf18c6e7943c8e84dca (diff)
downloadunit-wasm-ec49ea8e1737e38b2ab704475a87d0580245dc4e.tar.gz
unit-wasm-ec49ea8e1737e38b2ab704475a87d0580245dc4e.tar.bz2
shared.mk: Ensure WASI_SYSROOT is exported to the environment
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>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions