On FreeBSD there is no separate "cargo" package, as the command is part
of the amin "rust" package.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
guests/vars/mappings.yml | 8 ++++++++
guests/vars/projects/libvirt-rust.yml | 4 ++++
2 files changed, 12 insertions(+)
create mode 100644 guests/vars/projects/libvirt-rust.yml
diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml
index 4808b12..b78ce95 100644
--- a/guests/vars/mappings.yml
+++ b/guests/vars/mappings.yml
@@ -109,6 +109,10 @@ mappings:
default: ca-certificates
FreeBSD: ca_root_nss
+ cargo:
+ default: cargo
+ pkg:
+
ccache:
default: ccache
@@ -935,6 +939,10 @@ mappings:
rpmbuild:
rpm: rpm-build
+ rust:
+ default: rust
+ deb: rustc
+
sanlock:
deb: libsanlock-dev
rpm: sanlock-devel
diff --git a/guests/vars/projects/libvirt-rust.yml
b/guests/vars/projects/libvirt-rust.yml
new file mode 100644
index 0000000..978d5ef
--- /dev/null
+++ b/guests/vars/projects/libvirt-rust.yml
@@ -0,0 +1,4 @@
+---
+packages:
+ - cargo
+ - rust
--
2.26.2