Skip to content

Commit 9302862

Browse files
committed
librsvg: Document cargo vendoring
1 parent d4cf4db commit 9302862

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

snapcraft.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ parts:
349349
override-pull: |
350350
craftctl default
351351
meson subprojects download
352+
353+
# vendor rust crates in the "pull" phase to avoid downloading from the network later.
354+
# this would happen automatically if the part used "plugin: rust", but it is a meson project.
352355
mkdir -p $CRAFT_PART_BUILD/.cargo
353356
cargo vendor $CRAFT_PART_SRC/vendor > $CRAFT_PART_BUILD/.cargo/config.toml
354357
override-stage: |

0 commit comments

Comments
 (0)