diff --git a/charmcraft.yaml b/charmcraft.yaml index 41250d8..f0e61bd 100644 --- a/charmcraft.yaml +++ b/charmcraft.yaml @@ -12,3 +12,9 @@ parts: charm-python-packages: [setuptools, pip] # prime: # - ./files/manifests/*.yaml + # 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