File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ An OpenEmebdded/Yocto layer providing pre-built toolchains for the
99- [ meta-rust-bin] ( #meta-rust-bin )
1010 - [ Basic Example] ( #basic-example )
1111 - [ Features] ( #features )
12+ - [ Use with Yocto Release 4.0 (kirkstone) and Above] ( #use-with-yocto-release-40-kirkstone-and-above )
13+ - [ Use with Yocto Release 3.4 (honister) and Above] ( #use-with-yocto-release-34-honister-and-above )
1214 - [ Advanced Features] ( #advanced-features )
1315 - [ Specifying Cargo Features] ( #specifying-cargo-features )
1416 - [ Using Components Individually] ( #using-components-individually )
@@ -66,6 +68,17 @@ Future:
6668 (provides space savings).
6769 * [ ] Total static linking using MUSL.
6870
71+ ### Use with Yocto Release 4.0 (kirkstone) and Above
72+
73+ From Yocto version 4.0 network access from tasks is disabled by default on
74+ kernels which support this feature (on most recent distros such as CentOS 8 and
75+ Debian 11 onwards). The task ` do_compile ` need to access the network because it
76+ downloads dependencies, so add the following line to the recipe:
77+
78+ ``` bitbake
79+ do_compile[network] = "1"
80+ ```
81+
6982### Use with Yocto Release 3.4 (honister) and Above
7083
7184Rust is included directly in ` openmbedded-core ` as of Yocto version 3.4. The
You can’t perform that action at this time.
0 commit comments