Skip to content

Commit e5f0073

Browse files
Yash Shinderpurdie
Yash Shinde
authored andcommitted
rust: Disable rust oe-selftest
After rust is upgraded to 1.71 and later versions, the rust oe-selftest gives build errors due to unstable nightly options(see the error mentioned below). Thus, disable the test suite until the issue is fixed error: the option `Z` is only accepted on the nightly compiler thread 'main' panicked at 'failed to gather the target spec for x86_64-poky-linux-gnu', synthetic_targets.rs:66:9 Following issues are created in Yocto bugzilla and rust upstream to track this issue- https://bugzilla.yoctoproject.org/show_bug.cgi?id=15275 rust-lang/rust#115642 https://users.rust-lang.org/t/does-rust-test-suite-supports-nightly-options-during-bootstrapping-in-rust/103108 https://users.rust-lang.org/t/unable-to-read-target-specs-when-rust-1-73-is-bootstrapped-in-yocto-poky/102959 Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
1 parent 560181a commit e5f0073

File tree

1 file changed

+3
-0
lines changed
  • meta/lib/oeqa/selftest/cases

1 file changed

+3
-0
lines changed

meta/lib/oeqa/selftest/cases/rust.py

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ def parse_results(filename):
3939
@OETestTag("runqemu")
4040
class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
4141
def test_rust(self, *args, **kwargs):
42+
# Disable Rust Oe-selftest
43+
self.skipTest("The Rust Oe-selftest is disabled.")
44+
4245
# build remote-test-server before image build
4346
recipe = "rust"
4447
start_time = time.time()

0 commit comments

Comments
 (0)