Skip to content

Commit

Permalink
build: Enable building rust dependencies (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k authored Dec 9, 2024
1 parent 7187dda commit bec015a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion charms/kserve-controller/charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ bases:
parts:
charm:
charm-python-packages: [setuptools, pip]
build-packages: [git]
# 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 bec015a

Please sign in to comment.