Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-15 Thread Richard W.M. Jones
On Mon, Aug 14, 2023 at 07:55:15AM +, Tage Johansson wrote: > > On 8/11/2023 2:00 PM, Eric Blake wrote: > > On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > > This commit creates basic Rust bindings in the rust directory. > The bindings are generated by

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-14 Thread Eric Blake
On Mon, Aug 14, 2023 at 07:55:15AM +, Tage Johansson wrote: > > On 8/11/2023 2:00 PM, Eric Blake wrote: > > On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > > > This commit creates basic Rust bindings in the rust directory. > > > The bindings are generated by

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-14 Thread Richard W.M. Jones
On Mon, Aug 14, 2023 at 08:15:53AM +, Tage Johansson wrote: > > On 8/11/2023 3:41 PM, Richard W.M. Jones wrote: > > On Fri, Aug 11, 2023 at 08:22:34AM -0500, Eric Blake wrote: > > On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > > This commit

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-14 Thread Tage Johansson
On 8/11/2023 3:41 PM, Richard W.M. Jones wrote: On Fri, Aug 11, 2023 at 08:22:34AM -0500, Eric Blake wrote: On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: This commit creates basic Rust bindings in the rust directory. The bindings are generated by generator/Rust.ml and

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-14 Thread Tage Johansson
On 8/11/2023 2:00 PM, Eric Blake wrote: On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: This commit creates basic Rust bindings in the rust directory. The bindings are generated by generator/Rust.ml and generator/RustSys.ml. --- --- /dev/null +++ b/generator/RustSys.ml +(**

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-11 Thread Richard W.M. Jones
On Fri, Aug 11, 2023 at 08:22:34AM -0500, Eric Blake wrote: > On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > > This commit creates basic Rust bindings in the rust directory. > > The bindings are generated by generator/Rust.ml and > > generator/RustSys.ml. > > --- > > > +++

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-11 Thread Eric Blake
On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > This commit creates basic Rust bindings in the rust directory. > The bindings are generated by generator/Rust.ml and > generator/RustSys.ml. > --- > +++ b/rust/Cargo.toml > @@ -0,0 +1,49 @@ > +# nbd client library in userspace > +#

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-11 Thread Eric Blake
On Thu, Aug 03, 2023 at 03:36:05PM +, Tage Johansson wrote: > This commit creates basic Rust bindings in the rust directory. > The bindings are generated by generator/Rust.ml and > generator/RustSys.ml. > --- > --- /dev/null > +++ b/generator/RustSys.ml > +(** Print the struct for a closure.

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-04 Thread Eric Blake
On Fri, Aug 04, 2023 at 10:50:44AM +, Tage Johansson wrote: > > On 8/4/2023 10:54 AM, Richard W.M. Jones wrote: > > I applied the first 4 patches to my local repo. > > 'make clean' now fails at: > > > >error: failed to load manifest for dependency `libnbd-sys` > >Caused by: > >

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-04 Thread Tage Johansson
On 8/4/2023 10:54 AM, Richard W.M. Jones wrote: I applied the first 4 patches to my local repo. 'make clean' now fails at: error: failed to load manifest for dependency `libnbd-sys` Caused by: failed to parse manifest at `/home/rjones/d/libnbd/rust/libnbd-sys/Cargo.toml` Caused

Re: [Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-04 Thread Richard W.M. Jones
I applied the first 4 patches to my local repo. 'make clean' now fails at: error: failed to load manifest for dependency `libnbd-sys` Caused by: failed to parse manifest at `/home/rjones/d/libnbd/rust/libnbd-sys/Cargo.toml` Caused by: no targets specified in the manifest either

[Libguestfs] [libnbd PATCH v5 01/12] rust: create basic Rust bindings

2023-08-03 Thread Tage Johansson
This commit creates basic Rust bindings in the rust directory. The bindings are generated by generator/Rust.ml and generator/RustSys.ml. --- .gitignore | 10 + .ocamlformat | 4 + Makefile.am| 2 + configure.ac | 30 ++