search for: d87abd4

Displaying 2 results from an estimated 2 matches for "d87abd4".

2019 Feb 08
0
[PATCH nbdkit] Add support for writing plugins in Rust.
...ng Rust plugins. + +* Better documentation. + +* Add tests. + +* There is no attempt to ‘make install’ or otherwise package the + crate. Since it looks as if Rust code is normally distributed as + source it's not clear what that would even mean. diff --git a/configure.ac b/configure.ac index d87abd4..a0ed770 100644 --- a/configure.ac +++ b/configure.ac @@ -545,6 +545,15 @@ AS_IF([test "x$OCAMLOPT" != "xno" && test "x$enable_ocaml" != "xno"],[ AM_CONDITIONAL([HAVE_OCAML],[test "x$OCAMLOPT" != "xno" &&...
2019 Feb 08
3
[PATCH nbdkit] Add support for writing plugins in Rust.
This adds very rough support for writing nbdkit plugins in Rust. This is not very idiomatic -- essentially we're handling the direct C calls from nbdkit in Rust. We have to use ‘unsafe’ in a few places because there's no way to tell the Rust code that nbdkit satisfies guarantees (eg. around thread safety, always returning leaked pointers back to the close function, always doing bounds