From 76e952e2bbc0904b02e8fc5b042dfe3cebcd69c0 Mon Sep 17 00:00:00 2001 From: Orfeas Kourkakis Date: Mon, 9 Dec 2024 10:15:34 +0200 Subject: [PATCH] build: Enable building rust dependencies (#221) Ref canonical/bundle-kubeflow#1178 --- charms/argo-controller/charmcraft.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charms/argo-controller/charmcraft.yaml b/charms/argo-controller/charmcraft.yaml index 9325e88..b08112b 100644 --- a/charms/argo-controller/charmcraft.yaml +++ b/charms/argo-controller/charmcraft.yaml @@ -12,3 +12,9 @@ bases: parts: charm: charm-python-packages: [setuptools, pip] # Fixes install of some packages + # Following lines are needed due to https://github.com/canonical/charmcraft/issues/1722 + build-snaps: [rustup] + build-packages: [pkg-config, libffi-dev, libssl-dev] + override-build: | + rustup default stable + craftctl default