diff options
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/rust.py | 7 | ||||
| -rw-r--r-- | meta/recipes-devtools/rust/rust-source.inc | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py index 0d7d524471..164ad11ecd 100644 --- a/meta/lib/oeqa/selftest/cases/rust.py +++ b/meta/lib/oeqa/selftest/cases/rust.py | |||
| @@ -40,7 +40,12 @@ def parse_results(filename): | |||
| 40 | class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): | 40 | class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase): |
| 41 | def test_rust(self, *args, **kwargs): | 41 | def test_rust(self, *args, **kwargs): |
| 42 | # Disable Rust Oe-selftest | 42 | # Disable Rust Oe-selftest |
| 43 | self.skipTest("The Rust Oe-selftest is disabled.") | 43 | #self.skipTest("The Rust Oe-selftest is disabled.") |
| 44 | |||
| 45 | # Skip mips32 target since it is unstable with rust tests | ||
| 46 | machine = get_bb_var('MACHINE') | ||
| 47 | if machine == "qemumips": | ||
| 48 | self.skipTest("The mips32 target is skipped for Rust Oe-selftest.") | ||
| 44 | 49 | ||
| 45 | # build remote-test-server before image build | 50 | # build remote-test-server before image build |
| 46 | recipe = "rust" | 51 | recipe = "rust" |
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc index 83a0dbc15f..e02829e6b3 100644 --- a/meta/recipes-devtools/rust/rust-source.inc +++ b/meta/recipes-devtools/rust/rust-source.inc | |||
| @@ -10,6 +10,10 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n | |||
| 10 | file://0004-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${RUSTSRC} \ | 10 | file://0004-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${RUSTSRC} \ |
| 11 | file://0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \ | 11 | file://0005-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \ |
| 12 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ | 12 | file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \ |
| 13 | file://cargo-path.patch;patchdir=${RUSTSRC} \ | ||
| 14 | file://custom-target-cfg.patch;patchdir=${RUSTSRC} \ | ||
| 15 | file://rustc-bootstrap.patch;patchdir=${RUSTSRC} \ | ||
| 16 | file://target-build-value.patch;patchdir=${RUSTSRC} \ | ||
| 13 | " | 17 | " |
| 14 | SRC_URI[rust.sha256sum] = "b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e" | 18 | SRC_URI[rust.sha256sum] = "b98c09d968529212fb29eec7d6d3e9bdaa869810679b7fb86a1ca69469d75f5e" |
| 15 | 19 | ||
