summaryrefslogtreecommitdiffhomepage
path: root/src/rust/unit-wasm-sys/build.rs
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2023-09-05 15:26:37 +0100
committerAndrew Clayton <a.clayton@nginx.com>2023-09-05 15:26:37 +0100
commit6764e6e8ac3f1223536c35d7daef0755df144643 (patch)
tree009d04dc5f5541d9befe06ce4e806f184e7dd457 /src/rust/unit-wasm-sys/build.rs
parentd81bc9290edc8d1eb59ced024499359ccd4da77a (diff)
downloadunit-wasm-6764e6e8ac3f1223536c35d7daef0755df144643.tar.gz
unit-wasm-6764e6e8ac3f1223536c35d7daef0755df144643.tar.bz2
examples/rust: Slightly simplify hello-world
There is no need in this case to declare REQUEST_BUF as a global variable. Declaring it local to uwr_request_handler() lets us get rid of the unsafe code blocks. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/rust/unit-wasm-sys/build.rs')
0 files changed, 0 insertions, 0 deletions