Skip to content

Commit

Permalink
build: Enable building rust dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Dec 5, 2024
1 parent afc59d8 commit e01a2bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,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

0 comments on commit e01a2bb

Please sign in to comment.