diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-12-18 16:55:05 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-12-18 17:45:44 +0100 |
commit | 1ec34dd7e6ce92d887b259b0a5a17a7ac743c872 (patch) | |
tree | 9ae7d7f3da56f52c374cb9c9ec1cd4900665759e | |
parent | 059941652033713358837dee6203a28f52481572 (diff) |
doc: Document 'cargo-build-system'.
* doc/guix.texi (Build Systems): Add 'cargo-build-system'.
-rw-r--r-- | doc/guix.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 5d3a1753bf..3b2368b071 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -3187,6 +3187,19 @@ which file the system is defined in. @end defvr +@defvr {Scheme Variable} cargo-build-system +@cindex Rust programming language +@cindex Cargo (Rust build system) +This variable is exported by @code{(guix build-system cargo)}. It +supports builds of packages using Cargo, the build tool of the +@uref{https://www.rust-lang.org, Rust programming language}. + +In its @code{configure} phase, this build system replaces dependencies +specified in the @file{Carto.toml} file with inputs to the Guix package. +The @code{install} phase installs the binaries, and it also installs the +source code and @file{Cargo.toml} file. +@end defvr + @defvr {Scheme Variable} cmake-build-system This variable is exported by @code{(guix build-system cmake)}. It implements the build procedure for packages using the |