Andrew Clayton
Andrew Clayton
Hi! > First, let me say that I am by no means a _Rust_ expert. However, I have noticed several cases while reviewing the Unit WASM That makes two of...
You think something like (from the rust [echo-request](https://github.com/nginx/unit-wasm/blob/main/examples/rust/echo-request/src/lib.rs) example) ```rust uwr_write_str!(ctx, "REQUEST_PATH = {}\n", uwr_get_http_path(ctx)); ``` is unsafe? _uwr_get_http_path(ctx)_ simply returns a pointer to a nul-terminated string contained in memory...
Seeing as it's just a wrapper around the C API it needs to be _'unsafe'_ at somepoint AFAICT and to make it otherwise would require a native Rust API. Given...
On Sun, 29 Oct 2023 01:08:33 -0700 Nemo157 ***@***.***> wrote: > The key is that you should either: > > * expose the fact that the API is unsafe by...
> > Where is the undefined behaviour? Or do you _really_ mean UB (where the compiler is free to do what it likes) or something else? > > In my...
Scary...
I suppose the first warning is about the following 1) Some people may rather not install all the rust stuff on their system (I'm not hugely keen myself!), much like...
Hi, This is really great to see! We ([NGINX Unit](https://unit.nginx.org/)) wrote a WebAssembly language module using the Wasmtime C API last summer. However when it came to supporting the component...
This looks like something specific to our tests as OpenSSL 3.2.1 itself seems to work fine with current Unit. This error ``` 2024/03/27 21:17:49 [error] 4401#4404 *26 SSL_do_handshake(33) failed (1048:...
Great, thanks for testing!