]> xenbits.xensource.com Git - xen-guest-agent.git/commitdiff
README: better documentation for build requirements
authorYann Dirson <yann.dirson@vates.fr>
Fri, 2 Feb 2024 15:15:27 +0000 (16:15 +0100)
committerYann Dirson <yann.dirson@vates.fr>
Fri, 2 Feb 2024 16:43:30 +0000 (17:43 +0100)
README.md

index 5a60d63e52893021fa6e3d6ff4ac143deb3a4f90..256ef57bdb1cbaf9e4c7330ce64e3282bc05d02d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -38,9 +38,21 @@ Some features to consider (from `xe-guest-utilities`):
 
 ## Rust prototype
 
+### Build requirements
+
+You need a Rust toolchain.  Some of our dependencies require Rust
+1.70 or later.
+
+Since the Cargo tool cannot be told about non-Rust dependencies, you
+have to install manually on your build machine:
+- packages needed to build a crate linking against a native lib
+  (`llvm-dev` and `clang` on Debian-based Linux distros)
+- development files for libxenstore (package `libxen-dev` on
+  Debian-based Linux distros, `xen-tools` on FreeBSD)
+
 ### How to build
 
-Make sure you have a Rust toolchain available.  The base command is simply:
+The base command is simply:
 
 ```
 cargo build
@@ -183,4 +195,4 @@ We started to investigate a way to also use those tools for Windows guests.
 
 ### Getting more contributors
 
-We are seeking to get more contributors. Reviews and feedback welcome!
\ No newline at end of file
+We are seeking to get more contributors. Reviews and feedback welcome!