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
9
9
- [ meta-rust-bin] ( #meta-rust-bin )
10
10
- [ Basic Example] ( #basic-example )
11
11
- [ 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 )
12
14
- [ Advanced Features] ( #advanced-features )
13
15
- [ Specifying Cargo Features] ( #specifying-cargo-features )
14
16
- [ Using Components Individually] ( #using-components-individually )
@@ -66,6 +68,17 @@ Future:
66
68
(provides space savings).
67
69
* [ ] Total static linking using MUSL.
68
70
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
+
69
82
### Use with Yocto Release 3.4 (honister) and Above
70
83
71
84
Rust 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