diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml index cae1102dd..5febe1cc0 100644 --- a/chapter08/chapter08.xml +++ b/chapter08/chapter08.xml @@ -64,6 +64,7 @@ + diff --git a/chapter08/rust-bindgen.xml b/chapter08/rust-bindgen.xml new file mode 100644 index 000000000..c437e3a4e --- /dev/null +++ b/chapter08/rust-bindgen.xml @@ -0,0 +1,101 @@ + + + %general-entities; +]> + + + + + + rust-bindgen + &rust-bindgen-version; +
&rust-bindgen-url;
+
+ + Rust-bindgen-&rust-bindgen-version; + + + rust-bindgen + + + + + + <para>Rust-bindgen automatically generates Rust FFI bindings to C and + C++ libraries.</para> + + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> + + <seglistitem> + <seg>&rust-bindgen-fin-sbu;</seg> + <seg>&rust-bindgen-fin-du;</seg> + </seglistitem> + </segmentedlist> + + </sect2> + + <sect2 role="installation"> + <title>Installation of Rust-bindgen + + Build rust-bindgen with: + +cargo build --release + + + The meaning of the build option: + + + --release + + Build this package with optimization suitable for stable + release. The default () will produce + unoptimized binary. + + + + + + The testsuite needs rustup which is beyond the + scope of LFS. + + Install the package: + +install -vm755 target/release/bindgen /usr/bin + + + + + Contents of Rust-bindgen + + + Installed programs + + + bindgen + + + + Short Descriptions + + + + + bindgen + + generates Rust bindings from C/C++ headers + + bindgen + + + + + + + + +
+ diff --git a/packages.ent b/packages.ent index 9310d7dfd..a4ddd10ca 100644 --- a/packages.ent +++ b/packages.ent @@ -646,6 +646,14 @@ + + + + + + + +