Skip to content

Commit

Permalink
build: Enable building rust dependencies (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k authored Dec 9, 2024
1 parent 593cf28 commit 5bdf7aa
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 @@ -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

0 comments on commit 5bdf7aa

Please sign in to comment.