search for: libnbd_si

Displaying 4 results from an estimated 4 matches for "libnbd_si".

Did you mean: libnbd_
2019 Jul 07
2
[libnbd PATCH] RFC: Add bindings for Rust language
This is just a basic ugly support, not meant to be pushed (at least for now). There is quite a lot missing, but there is an example which shows that it really works. And valgrind reports that all allocations were freed. The way the code is generated is also not nice, I wish there was more code actually written in some files and not generated by the generator (as much hard-coded static strings as
2019 Jul 08
0
Re: [libnbd PATCH] RFC: Add bindings for Rust language
The patch seems OK in general. On Sun, Jul 07, 2019 at 11:39:29PM +0200, Martin Kletzander wrote: > The way the code is generated is also not nice, I wish there was > more code actually written in some files and not generated by the > generator (as much hard-coded static strings as possible), maybe > similarly to the states.c, I don't know. Can you expand on what you mean by
2019 Aug 31
1
[PATCH libnbd] Add bindings for Rust language
Still not working, but I took the latest patch and: - rebased it against libnbd 1.0 - fixed it so it handles new args and cbargs The generator now runs without warnings. This patch doesn't handle optargs at all. In C these are converted to non-optional parameter. Rust doesn't (AFAIK) have optional or labelled arguments unfortunately. Rich.
2019 Jul 08
2
Re: [libnbd PATCH] RFC: Add bindings for Rust language
On Mon, Jul 08, 2019 at 09:58:20AM +0100, Richard W.M. Jones wrote: >The patch seems OK in general. > The libnbd-sys part is actually complete. Well, except the build script, but that one is not completely necessary. And the documentation. The wrappers are missing quite a few things to be usable, but it should not be *that* difficult once someone wants to play with it. What bothers me a