diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2025-09-24 02:22:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-25 11:09:05 +0100 |
commit | 61ce087049be24f3306e8bb08acbfe2a8151e37c (patch) | |
tree | f29ddcd65ddc57637093b050c0994bde8e9da7c7 /meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch | |
parent | cea21917206f6688e6d37efde783941463289b28 (diff) | |
download | poky-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/recipes-devtools/rust/files/backport-fix-test-string-merging.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch b/meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch deleted file mode 100644 index 1e72c100bb..0000000000 --- a/meta/recipes-devtools/rust/files/backport-fix-test-string-merging.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 2d51acd2fbcbadb6f30709c5dd305494d413d388 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jens Reidel <adrian@travitia.xyz> | ||
3 | Date: Fri, 18 Jul 2025 19:44:20 +0200 | ||
4 | Subject: [PATCH] tests: assembly: cstring-merging: Disable GlobalMerge pass | ||
5 | |||
6 | The test relies on LLVM not merging all the globals into one and would | ||
7 | currently otherwise fail on powerpc64le. | ||
8 | |||
9 | Signed-off-by: Peter Tatrai <Peter.Tatrai@siemens.com> | ||
10 | Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/2d51acd2fbcbadb6f30709c5dd305494d413d388] | ||
11 | --- | ||
12 | tests/assembly/cstring-merging.rs | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/tests/assembly/cstring-merging.rs b/tests/assembly/cstring-merging.rs | ||
16 | index f7d0775f7affd..03688e0068b79 100644 | ||
17 | --- a/tests/assembly/cstring-merging.rs | ||
18 | +++ b/tests/assembly/cstring-merging.rs | ||
19 | @@ -2,7 +2,7 @@ | ||
20 | // other architectures (including ARM and x86-64) use the prefix `.Lanon.` | ||
21 | //@ only-linux | ||
22 | //@ assembly-output: emit-asm | ||
23 | -//@ compile-flags: --crate-type=lib -Copt-level=3 | ||
24 | +//@ compile-flags: --crate-type=lib -Copt-level=3 -Cllvm-args=-enable-global-merge=0 | ||
25 | //@ edition: 2024 | ||
26 | |||
27 | use std::ffi::CStr; | ||