Skip to content

Commit

Permalink
feat: enable network by default at compile task
Browse files Browse the repository at this point in the history
  • Loading branch information
banditopazzo committed Oct 9, 2023
1 parent 7ac87ec commit 0ed8896
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions classes/cargo_bin.bbclass
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
inherit rust_bin-common

# Enable network for the compile task allowing cargo to download dependencies
do_compile[network] = "1"

# Many crates rely on pkg-config to find native versions of their libraries for
# linking - do the simple thing and make it generally available.
DEPENDS:append = "\
Expand Down

0 comments on commit 0ed8896

Please sign in to comment.