From 777be0b4799c629feae5b0e0ad9edc715fee7c2b Mon Sep 17 00:00:00 2001 From: Orfeas Kourkakis Date: Mon, 9 Dec 2024 10:12:06 +0200 Subject: [PATCH] build: Enable building rust dependencies (#200) Ref canonical/bundle-kubeflow#1178 --- charmcraft.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charmcraft.yaml b/charmcraft.yaml index c9fc650..67a0c9f 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -12,3 +12,9 @@ bases: parts: charm: charm-python-packages: [setuptools, pip] + # 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