Skip to content

Commit 0ed8896

Browse files
committed
feat: enable network by default at compile task
1 parent 7ac87ec commit 0ed8896

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

classes/cargo_bin.bbclass

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
inherit rust_bin-common
22

3+
# Enable network for the compile task allowing cargo to download dependencies
4+
do_compile[network] = "1"
5+
36
# Many crates rely on pkg-config to find native versions of their libraries for
47
# linking - do the simple thing and make it generally available.
58
DEPENDS:append = "\

0 commit comments

Comments
 (0)