mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
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
2d51acd2fb
* 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>
This commit is contained in:
committed by
Richard Purdie
parent
cea2191720
commit
61ce087049
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -24,7 +24,7 @@ diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core
|
||||
index 087df2f8a..00790affb 100644
|
||||
--- a/src/bootstrap/src/core/build_steps/tool.rs
|
||||
+++ b/src/bootstrap/src/core/build_steps/tool.rs
|
||||
@@ -15,14 +15,12 @@ use std::{env, fs};
|
||||
@@ -16,14 +16,12 @@ use std::{env, fs};
|
||||
#[cfg(feature = "tracing")]
|
||||
use tracing::instrument;
|
||||
|
||||
@@ -33,22 +33,22 @@ index 087df2f8a..00790affb 100644
|
||||
use crate::core::build_steps::{compile, llvm};
|
||||
use crate::core::builder;
|
||||
-use crate::core::builder::{
|
||||
- Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step, cargo_profile_var,
|
||||
- Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step, StepMetadata, cargo_profile_var,
|
||||
-};
|
||||
-use crate::core::config::{DebuginfoLevel, RustcLto, TargetSelection};
|
||||
+
|
||||
+use crate::core::builder::{Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step};
|
||||
+use crate::core::builder::{Builder, Cargo as CargoCommand, RunConfig, ShouldRun, Step, StepMetadata};
|
||||
+use crate::core::config::{DebuginfoLevel, TargetSelection};
|
||||
use crate::utils::exec::{BootstrapCommand, command};
|
||||
use crate::utils::helpers::{add_dylib_path, exe, t};
|
||||
use crate::{Compiler, FileType, Kind, Mode, gha};
|
||||
@@ -171,20 +171,7 @@ impl Step for ToolBuild {
|
||||
@@ -160,20 +158,7 @@ impl Step for ToolBuild {
|
||||
cargo.env("RUSTC_WRAPPER", ccache);
|
||||
}
|
||||
|
||||
- // Rustc tools (miri, clippy, cargo, rustfmt, rust-analyzer)
|
||||
- // could use the additional optimizations.
|
||||
- if self.mode == Mode::ToolRustc && is_lto_stage(&self.compiler) {
|
||||
- if self.mode == Mode::ToolRustc && is_lto_stage(&self.build_compiler) {
|
||||
- let lto = match builder.config.rust_lto {
|
||||
- RustcLto::Off => Some("off"),
|
||||
- RustcLto::Thin => Some("thin"),
|
||||
@@ -74,5 +74,5 @@ diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/buil
|
||||
-pub use self::cargo::{Cargo, cargo_profile_var};
|
||||
+pub use self::cargo::Cargo;
|
||||
pub use crate::Compiler;
|
||||
use crate::core::build_steps::compile::{Std, StdLink};
|
||||
use crate::core::build_steps::{
|
||||
check, clean, clippy, compile, dist, doc, gcc, install, llvm, run, setup, test, tool, vendor,
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
From 2d51acd2fbcbadb6f30709c5dd305494d413d388 Mon Sep 17 00:00:00 2001
|
||||
From: Jens Reidel <adrian@travitia.xyz>
|
||||
Date: Fri, 18 Jul 2025 19:44:20 +0200
|
||||
Subject: [PATCH] tests: assembly: cstring-merging: Disable GlobalMerge pass
|
||||
|
||||
The test relies on LLVM not merging all the globals into one and would
|
||||
currently otherwise fail on powerpc64le.
|
||||
|
||||
Signed-off-by: Peter Tatrai <Peter.Tatrai@siemens.com>
|
||||
Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/2d51acd2fbcbadb6f30709c5dd305494d413d388]
|
||||
---
|
||||
tests/assembly/cstring-merging.rs | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/assembly/cstring-merging.rs b/tests/assembly/cstring-merging.rs
|
||||
index f7d0775f7affd..03688e0068b79 100644
|
||||
--- a/tests/assembly/cstring-merging.rs
|
||||
+++ b/tests/assembly/cstring-merging.rs
|
||||
@@ -2,7 +2,7 @@
|
||||
// other architectures (including ARM and x86-64) use the prefix `.Lanon.`
|
||||
//@ only-linux
|
||||
//@ assembly-output: emit-asm
|
||||
-//@ compile-flags: --crate-type=lib -Copt-level=3
|
||||
+//@ compile-flags: --crate-type=lib -Copt-level=3 -Cllvm-args=-enable-global-merge=0
|
||||
//@ edition: 2024
|
||||
|
||||
use std::ffi::CStr;
|
||||
@@ -61,6 +61,6 @@ index b070eeb322..ba768ff86f 100644
|
||||
--- a/vendor/cc-1.2.0/.cargo-checksum.json
|
||||
+++ b/vendor/cc-1.2.0/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"b766a70e39b8ea7bb57afd288bcac205a23f6a26ac5619cb1d5b10f70c5dfdea","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
|
||||
-{"files":{".cargo_vcs_info.json":"d6e26674a9d7de87dab83262a14f2377988a1e087e4b514f3983f8dd141ea813","CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","Cargo.toml.orig":"0aff9dc74ddbe3bfe89ad9698212a6a18d6124b9593780aad25e277d28e9a71f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"b766a70e39b8ea7bb57afd288bcac205a23f6a26ac5619cb1d5b10f70c5dfdea","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"174101852b2633a2478cef20d063fb9c2f1b092eac47913a6e708c85663b8404","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
|
||||
+{"files":{".cargo_vcs_info.json":"d6e26674a9d7de87dab83262a14f2377988a1e087e4b514f3983f8dd141ea813","CHANGELOG.md":"fb0a3bcb34301d2578bef86feabe93057068cb1906a7f10b584f58ff6123e8c6","Cargo.lock":"b661254fadca74408d53742755b371f7ae29e501e851aeae13bcd14a51883321","Cargo.toml":"50debe1b2fc050e8b305bdd514509d98cdbc59e96e5f10888df4b6fca19d3a75","Cargo.toml.orig":"0aff9dc74ddbe3bfe89ad9698212a6a18d6124b9593780aad25e277d28e9a71f","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"174101852b2633a2478cef20d063fb9c2f1b092eac47913a6e708c85663b8404","src/detect_compiler_family.c":"97ca4b021495611e828becea6187add37414186a16dfedd26c2947cbce6e8b2f","src/lib.rs":"221ba9475100303b5c694b2a02e5353452ee08a29e4e4d4d67ea8fcbd87605df","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"018a01cb00182270bbcb68e31e7a7c5c621a95f086e4c68cfa2bf557ac24e5f2","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target.rs":"7313240db078ad85c1209a42a5fa96c3692b5d6e5093c7f366a1b99677247109","src/target/apple.rs":"6afbecac9f66aa72db55694413532f80b2753f28466a6213d1aa901a03c78bcd","src/target/generated.rs":"af067e1c291e895ddb591f92534eed0c48977cdb2b58f8239423e07c6de31cd3","src/target/llvm.rs":"e1db4a7fb8b905ee9853781f2fcc64a9d3b48154e4c8b6cb12f5373c5935da6e","src/target/parser.rs":"4f2129a24273d62bf8ab339098e7f758e4e42b0df369dd2b0eb1b20726be91f8","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"2e6550062e021f2b394388172bbb01e86fe6a94d2395bcb3c85a9e86690da1a9","src/utilities.rs":"52b30b24a1c31cdefb105309ee5220cfc9fca76eaf4e6d6509c3e19f431448fe","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"0ff410bd71f08ee88e99609c15be5f1bc16ad7bd07a83918d13a70c8465642e2","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"1aeb932158bd710538c73702db6945cb68a8fb08c519e6e12706b94263b36db8"}
|
||||
|
||||
@@ -226,76 +226,117 @@ index a05f274136..0e69b4cb98 100644
|
||||
fn sparse_inserts() {
|
||||
let cache: VecCache<u32, u8, u32> = VecCache::default();
|
||||
let end = if cfg!(target_pointer_width = "64") && cfg!(target_os = "linux") {
|
||||
diff --git a/tests/assembly/dwarf-mixed-versions-lto.rs b/tests/assembly/dwarf-mixed-versions-lto.rs
|
||||
index 5b8e5ff4f4a..e558fbd7bd7 100644
|
||||
--- a/tests/assembly/dwarf-mixed-versions-lto.rs
|
||||
+++ b/tests/assembly/dwarf-mixed-versions-lto.rs
|
||||
@@ -2,6 +2,11 @@
|
||||
// will choose the highest DWARF version for the final binary. This matches Clang's behavior.
|
||||
// Note: `.2byte` directive is used on MIPS.
|
||||
|
||||
+//@ only-x86
|
||||
+//@ only-x86_64
|
||||
+//@ only-arm
|
||||
+//@ only-aarch64
|
||||
+
|
||||
//@ only-linux
|
||||
//@ aux-build:dwarf-mixed-versions-lto-aux.rs
|
||||
diff --git a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
|
||||
index 828328df843..30753c56c76 100644
|
||||
--- a/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
|
||||
+++ b/tests/assembly-llvm/dwarf-mixed-versions-lto.rs
|
||||
@@ -8,6 +8,7 @@
|
||||
//@ compile-flags: -C lto -g -Cdwarf-version=5
|
||||
diff --git a/tests/codegen/uninhabited-transparent-return-abi.rs b/tests/codegen/uninhabited-transparent-return-abi.rs
|
||||
index face1577c3f..d69e5e34a7b 100644
|
||||
--- a/tests/codegen/uninhabited-transparent-return-abi.rs
|
||||
+++ b/tests/codegen/uninhabited-transparent-return-abi.rs
|
||||
@@ -1,4 +1,8 @@
|
||||
//@ assembly-output: emit-asm
|
||||
//@ no-prefer-dynamic
|
||||
+//@ ignore-riscv64
|
||||
|
||||
extern crate dwarf_mixed_versions_lto_aux;
|
||||
|
||||
diff --git a/tests/codegen-llvm/const-vector.rs b/tests/codegen-llvm/const-vector.rs
|
||||
index f4307492341..617e31140e9 100644
|
||||
--- a/tests/codegen-llvm/const-vector.rs
|
||||
+++ b/tests/codegen-llvm/const-vector.rs
|
||||
@@ -3,6 +3,7 @@
|
||||
//@ [OPT0_S390X] only-s390x
|
||||
//@ [OPT0] compile-flags: -C no-prepopulate-passes -Copt-level=0
|
||||
//@ [OPT0_S390X] compile-flags: -C no-prepopulate-passes -Copt-level=0 -C target-cpu=z13
|
||||
+//@ ignore-riscv64
|
||||
|
||||
// This test checks that constants of SIMD type are passed as immediate vectors.
|
||||
// We ensure that both vector representations (struct with fields and struct wrapping array) work.
|
||||
diff --git a/tests/codegen-llvm/enum/enum-aggregate.rs b/tests/codegen-llvm/enum/enum-aggregate.rs
|
||||
index 0161e5f3fa1..773a06fabb4 100644
|
||||
--- a/tests/codegen-llvm/enum/enum-aggregate.rs
|
||||
+++ b/tests/codegen-llvm/enum/enum-aggregate.rs
|
||||
@@ -1,6 +1,7 @@
|
||||
//@ compile-flags: -Copt-level=0 -Cno-prepopulate-passes
|
||||
//@ min-llvm-version: 19
|
||||
//@ only-64bit
|
||||
+//@ ignore-riscv64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
diff --git a/tests/codegen-llvm/enum/enum-match.rs b/tests/codegen-llvm/enum/enum-match.rs
|
||||
index 57db44ec74e..1e2507f7c90 100644
|
||||
--- a/tests/codegen-llvm/enum/enum-match.rs
|
||||
+++ b/tests/codegen-llvm/enum/enum-match.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ compile-flags: -Copt-level=1
|
||||
//@ only-64bit
|
||||
+//@ ignore-riscv64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(core_intrinsics)]
|
||||
diff --git a/tests/codegen-llvm/enum/enum-transparent-extract.rs b/tests/codegen-llvm/enum/enum-transparent-extract.rs
|
||||
index c5efb8d472b..e79b8916fc1 100644
|
||||
--- a/tests/codegen-llvm/enum/enum-transparent-extract.rs
|
||||
+++ b/tests/codegen-llvm/enum/enum-transparent-extract.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ compile-flags: -Copt-level=0
|
||||
//@ only-64bit
|
||||
+//@ ignore-riscv64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
diff --git a/tests/codegen-llvm/repeat-operand-zero-len.rs b/tests/codegen-llvm/repeat-operand-zero-len.rs
|
||||
index b4cec42a07c..d450fead9a4 100644
|
||||
--- a/tests/codegen-llvm/repeat-operand-zero-len.rs
|
||||
+++ b/tests/codegen-llvm/repeat-operand-zero-len.rs
|
||||
@@ -1,4 +1,5 @@
|
||||
//@ compile-flags: -Copt-level=1 -Cno-prepopulate-passes
|
||||
+//@ ignore-riscv64
|
||||
|
||||
// This test is here to hit the `Rvalue::Repeat` case in `codegen_rvalue_operand`.
|
||||
// It only applies when the resulting array is a ZST, so the test is written in
|
||||
diff --git a/tests/codegen-llvm/simd/extract-insert-dyn.rs b/tests/codegen-llvm/simd/extract-insert-dyn.rs
|
||||
index 729f0145314..2b1d1beb86a 100644
|
||||
--- a/tests/codegen-llvm/simd/extract-insert-dyn.rs
|
||||
+++ b/tests/codegen-llvm/simd/extract-insert-dyn.rs
|
||||
@@ -1,4 +1,5 @@
|
||||
//@compile-flags: -C opt-level=3 -C no-prepopulate-passes
|
||||
+//@ ignore-riscv64
|
||||
|
||||
#![feature(
|
||||
core_intrinsics,
|
||||
diff --git a/tests/codegen-llvm/transmute-scalar.rs b/tests/codegen-llvm/transmute-scalar.rs
|
||||
index ce1b0558b2e..e8fda2cd566 100644
|
||||
--- a/tests/codegen-llvm/transmute-scalar.rs
|
||||
+++ b/tests/codegen-llvm/transmute-scalar.rs
|
||||
@@ -1,5 +1,6 @@
|
||||
//@ add-core-stubs
|
||||
//@ compile-flags: -C opt-level=0 -C no-prepopulate-passes
|
||||
+//@ ignore-riscv64
|
||||
|
||||
#![crate_type = "lib"]
|
||||
#![feature(no_core, repr_simd, arm_target_feature, mips_target_feature, s390x_target_feature)]
|
||||
diff --git a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
|
||||
index face1577c3f..09e0846bad0 100644
|
||||
--- a/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
|
||||
+++ b/tests/codegen-llvm/uninhabited-transparent-return-abi.rs
|
||||
@@ -1,4 +1,5 @@
|
||||
//@ compile-flags: -Copt-level=3
|
||||
+//@ only-x86
|
||||
+//@ only-x86_64
|
||||
+//@ only-arm
|
||||
+//@ only-aarch64
|
||||
+//@ ignore-riscv64
|
||||
|
||||
// See https://github.com/rust-lang/rust/issues/135802
|
||||
|
||||
|
||||
diff --git a/tests/ui/abi/rust-cold-works-with-rustic-args.rs b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
|
||||
index 57027364699..3faa7ea035e 100644
|
||||
index 551485469d3..575db924968 100644
|
||||
--- a/tests/ui/abi/rust-cold-works-with-rustic-args.rs
|
||||
+++ b/tests/ui/abi/rust-cold-works-with-rustic-args.rs
|
||||
@@ -1,5 +1,9 @@
|
||||
//@build-pass
|
||||
//@compile-flags: -Clink-dead-code=true --crate-type lib
|
||||
+//@ only-x86
|
||||
+//@ only-x86_64
|
||||
+//@ only-arm
|
||||
+//@ only-aarch64
|
||||
@@ -1,6 +1,7 @@
|
||||
//@ add-core-stubs
|
||||
//@ build-pass
|
||||
//@ compile-flags: -Clink-dead-code=true
|
||||
+//@ ignore-riscv64
|
||||
// We used to not handle all "rustic" ABIs in a (relatively) uniform way,
|
||||
// so we failed to fix up arguments for actually passing through the ABI...
|
||||
#![feature(rust_cold_cc)]
|
||||
diff --git a/tests/codegen/simd/extract-insert-dyn.rs b/tests/codegen/simd/extract-insert-dyn.rs
|
||||
index 729f0145314..1b21356518e 100644
|
||||
--- a/tests/codegen/simd/extract-insert-dyn.rs
|
||||
+++ b/tests/codegen/simd/extract-insert-dyn.rs
|
||||
@@ -1,3 +1,8 @@
|
||||
+//@ only-x86
|
||||
+//@ only-x86_64
|
||||
+//@ only-arm
|
||||
+//@ only-aarch64
|
||||
+
|
||||
//@compile-flags: -C opt-level=3 -C no-prepopulate-passes
|
||||
|
||||
#![feature(
|
||||
diff --git a/tests/codegen/const-vector.rs b/tests/codegen/const-vector.rs
|
||||
index 42921442e03..af0edc2ee92 100644
|
||||
--- a/tests/codegen/const-vector.rs
|
||||
+++ b/tests/codegen/const-vector.rs
|
||||
@@ -1,3 +1,8 @@
|
||||
+//@ only-x86
|
||||
+//@ only-x86_64
|
||||
+//@ only-arm
|
||||
+//@ only-aarch64
|
||||
+
|
||||
//@ revisions: OPT0 OPT0_S390X
|
||||
//@ [OPT0] ignore-s390x
|
||||
//@ [OPT0_S390X] only-s390x
|
||||
|
||||
diff --git a/tests/ui/linking/executable-no-mangle-strip.rs b/tests/ui/linking/executable-no-mangle-strip.rs
|
||||
index cc283dc53..73cbab9c0 100644
|
||||
--- a/tests/ui/linking/executable-no-mangle-strip.rs
|
||||
@@ -308,3 +349,31 @@ index cc283dc53..73cbab9c0 100644
|
||||
|
||||
// Regression test for <https://github.com/rust-lang/rust/issues/139744>.
|
||||
// Functions in the binary marked with no_mangle should be GC-ed if they
|
||||
diff --git a/library/std_detect/src/detect/os/linux/aarch64/tests.rs b/library/std_detect/src/detect/os/linux/aarch64/tests.rs
|
||||
index a3562f2fd93..d4e52ed91be 100644
|
||||
--- a/library/std_detect/src/detect/os/linux/aarch64/tests.rs
|
||||
+++ b/library/std_detect/src/detect/os/linux/aarch64/tests.rs
|
||||
@@ -27,6 +27,7 @@ fn baseline_hwcaps() -> AtHwcap {
|
||||
}
|
||||
|
||||
#[test]
|
||||
+ #[ignore]
|
||||
fn linux_empty_hwcap2_aarch64() {
|
||||
let file = concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
@@ -39,6 +40,7 @@ fn linux_empty_hwcap2_aarch64() {
|
||||
assert_eq!(AtHwcap::from(v), baseline_hwcaps());
|
||||
}
|
||||
#[test]
|
||||
+ #[ignore]
|
||||
fn linux_no_hwcap2_aarch64() {
|
||||
let file = concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
@@ -51,6 +53,7 @@ fn linux_no_hwcap2_aarch64() {
|
||||
assert_eq!(AtHwcap::from(v), baseline_hwcaps());
|
||||
}
|
||||
#[test]
|
||||
+ #[ignore]
|
||||
fn linux_hwcap2_aarch64() {
|
||||
let file =
|
||||
concat!(env!("CARGO_MANIFEST_DIR"), "/src/detect/test_data/linux-hwcap2-aarch64.auxv");
|
||||
|
||||
Reference in New Issue
Block a user