diff options
author | Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> | 2025-03-27 02:06:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-27 13:41:58 +0000 |
commit | 01dbb30d39cf1e7ad534b22ccf81ef018e18f621 (patch) | |
tree | 8a3745044987d8e2776a390865611406c72c7bee /meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch | |
parent | 28a077b4aa20760ba0354c04af78017df0bd4d68 (diff) | |
download | poky-01dbb30d39cf1e7ad534b22ccf81ef018e18f621.tar.gz |
rust: Oe-selftest changes for rust v1.84.1
Ignore the failing unit test.
The tidy check failed due to a typo, which was already reported and
fixed in the Rust upstream.
Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded]
(From OE-Core rev: 94a244a14075ead1b3b5e966c0fe713cd448cad8)
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch b/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch new file mode 100644 index 0000000000..54b4ee690b --- /dev/null +++ b/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | fix a comment with uneven number of backticks in rustc_mir_build | ||
2 | |||
3 | Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded] | ||
4 | |||
5 | Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> | ||
6 | --- | ||
7 | diff --git a/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs b/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
8 | index 3f89e33778..c66af11845 100644 | ||
9 | --- a/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
10 | +++ b/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
11 | @@ -231,7 +231,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { | ||
12 | if range.start <= range.end { BinOp::BitAnd } else { BinOp::BitOr }; | ||
13 | |||
14 | let mut comparer = |range: u128, bin_op: BinOp| -> Place<'tcx> { | ||
15 | - // We can use `ty::TypingEnv::fully_monomorphized()`` here | ||
16 | + // We can use `ty::TypingEnv::fully_monomorphized()` here | ||
17 | // as we only need it to compute the layout of a primitive. | ||
18 | let range_val = Const::from_bits( | ||
19 | this.tcx, | ||