]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Enable RUSTC_BOOTSTRAP to use nightly features during rust oe-selftest.
authorYash Shinde <Yash.Shinde@windriver.com>
Thu, 25 Jan 2024 13:15:59 +0000 (05:15 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Jan 2024 14:06:53 +0000 (14:06 +0000)
commit01a411223fb85fedf85472402f63f6cb2f32ed6b
tree9a6a7f3aaef56069ba1b292e2b36b021eadcb811
parentfdd9385d9845d628e10179598fc42d29519c5dfd
rust: Enable RUSTC_BOOTSTRAP to use nightly features during rust oe-selftest.

Fixes: error: the option `Z` is only accepted on the nightly compiler
When rust.channel is set to either beta or stable, we can't use
nightly features on bootstrap without RUSTC_BOOTSTRAP.
Set RUSTC_BOOTSTRAP=1 to use nightly features on stable or beta.

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/files/rustc-bootstrap.patch [new file with mode: 0644]