summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/selftest/cases/rust.py
diff options
context:
space:
mode:
authorYash Shinde <Yash.Shinde@windriver.com>2025-09-24 02:22:06 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-25 11:09:05 +0100
commit61ce087049be24f3306e8bb08acbfe2a8151e37c (patch)
treef29ddcd65ddc57637093b050c0994bde8e9da7c7 /meta/lib/oeqa/selftest/cases/rust.py
parentcea21917206f6688e6d37efde783941463289b28 (diff)
downloadpoky-61ce087049be24f3306e8bb08acbfe2a8151e37c.tar.gz
rust: Upgrade 1.89.0 -> 1.90.0
https://blog.rust-lang.org/2025/09/18/Rust-1.90.0/ * Recent changes in rustc require 'target-c-int-width' to be an integer, not a string. This fixes type consistency when generating target specs. https://github.com/rust-lang/rust/pull/142352. * Rebase existing patches with v1.90.0. * Drop merged patches with rust v1.90.0. - backport-fix-test-string-merging.patch https://github.com/rust-lang/rust/commit/2d51acd2fbcbadb6f30709c5dd305494d413d388 * The "remote-test-server" bin is now generated in stage1-tools-bin dir rather than stage2. Update the test suite accordingly. The tests/{assembly/codegen} dirs are renamed to tests/{assembly,codegen}-llvm. Update the test suite and patches accordingly. https://github.com/rust-lang/rust/pull/144249/commits * Use "//@ ignore-riscv64" tag for tests failing on riscv-64 instead of previous "only-<target_arch>" tags. Test results summary: rust v1.90.0 +-----------+--------+---------+ | Machine | Passed | Ignored | +-----------+--------+---------+ | arm-32 | 29,517 | 1,529 | | arm-64 | 29,608 | 1,471 | | x86-32 | 29,508 | 1,507 | | x86-64 | 29,903 | 1,275 | | riscv-64 | 29,584 | 1,494 | +-----------+--------+---------+ Test results difference (1.90 - 1.89): +-----------+--------+---------+ | Machine | Passed | Ignored | +-----------+--------+---------+ | arm-32 | +278 | +61 | | arm-64 | +279 | +59 | | x86-32 | +277 | +58 | | x86-64 | +419 | +50 | | riscv-64 | +280 | +58 | +-----------+--------+---------+ (From OE-Core rev: 86d09ec9cdbcea6e076ebac6e1243f9e20fb4378) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/rust.py')
-rw-r--r--meta/lib/oeqa/selftest/cases/rust.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/rust.py b/meta/lib/oeqa/selftest/cases/rust.py
index 653867f0a4..95859a9eef 100644
--- a/meta/lib/oeqa/selftest/cases/rust.py
+++ b/meta/lib/oeqa/selftest/cases/rust.py
@@ -77,9 +77,9 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
77 'src/tools/test-float-parse', 77 'src/tools/test-float-parse',
78 'src/tools/suggest-tests', 78 'src/tools/suggest-tests',
79 'src/tools/tidy', 79 'src/tools/tidy',
80 'tests/assembly/asm/aarch64-outline-atomics.rs', 80 'tests/assembly-llvm/asm/aarch64-outline-atomics.rs',
81 'tests/codegen/issues/issue-122805.rs', 81 'tests/codegen-llvm/issues/issue-122805.rs',
82 'tests/codegen/thread-local.rs', 82 'tests/codegen-llvm/thread-local.rs',
83 'tests/mir-opt/', 83 'tests/mir-opt/',
84 'tests/run-make', 84 'tests/run-make',
85 'tests/run-make-fulldeps', 85 'tests/run-make-fulldeps',
@@ -89,7 +89,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
89 'tests/ui/abi/stack-probes-lto.rs', 89 'tests/ui/abi/stack-probes-lto.rs',
90 'tests/ui/abi/stack-probes.rs', 90 'tests/ui/abi/stack-probes.rs',
91 'tests/ui/codegen/mismatched-data-layouts.rs', 91 'tests/ui/codegen/mismatched-data-layouts.rs',
92 'tests/codegen/rust-abi-arch-specific-adjustment.rs', 92 'tests/codegen-llvm/rust-abi-arch-specific-adjustment.rs',
93 'tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs', 93 'tests/ui/debuginfo/debuginfo-emit-llvm-ir-and-split-debuginfo.rs',
94 'tests/ui/feature-gates/version_check.rs', 94 'tests/ui/feature-gates/version_check.rs',
95 'tests/ui-fulldeps/', 95 'tests/ui-fulldeps/',
@@ -107,7 +107,7 @@ class RustSelfTestSystemEmulated(OESelftestTestCase, OEPTestResultTestCase):
107 # Copy remote-test-server to image through scp 107 # Copy remote-test-server to image through scp
108 host_sys = get_bb_var("RUST_BUILD_SYS", "rust") 108 host_sys = get_bb_var("RUST_BUILD_SYS", "rust")
109 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root") 109 ssh = SSHControl(ip=qemu.ip, logfile=qemu.sshlog, user="root")
110 ssh.copy_to(builddir + "/build/" + host_sys + "/stage2-tools-bin/remote-test-server","~/") 110 ssh.copy_to(builddir + "/build/" + host_sys + "/stage1-tools-bin/remote-test-server","~/")
111 # Execute remote-test-server on image through background ssh 111 # Execute remote-test-server on image through background ssh
112 command = '~/remote-test-server --bind 0.0.0.0:12345 -v' 112 command = '~/remote-test-server --bind 0.0.0.0:12345 -v'
113 sshrun=subprocess.Popen(("ssh", '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-f', "root@%s" % qemu.ip, command), shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE) 113 sshrun=subprocess.Popen(("ssh", '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', '-f', "root@%s" % qemu.ip, command), shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)