summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-18 16:55:05 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-18 17:45:44 +0100
commit1ec34dd7e6ce92d887b259b0a5a17a7ac743c872 (patch)
tree9ae7d7f3da56f52c374cb9c9ec1cd4900665759e /doc
parent059941652033713358837dee6203a28f52481572 (diff)
downloadguix-patches-1ec34dd7e6ce92d887b259b0a5a17a7ac743c872.tar
guix-patches-1ec34dd7e6ce92d887b259b0a5a17a7ac743c872.tar.gz
doc: Document 'cargo-build-system'.
* doc/guix.texi (Build Systems): Add 'cargo-build-system'.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi13
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