diff --git a/classes/cargo_bin.bbclass b/classes/cargo_bin.bbclass index c1c341c..25d56b3 100644 --- a/classes/cargo_bin.bbclass +++ b/classes/cargo_bin.bbclass @@ -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 = "\