Skip to content

Sync from rust 2023 06 11 #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 145 commits into from
Jun 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
0646f0d
Move the cast_float_to_int fallback code to GCC
cuviper Aug 16, 2022
34d33f2
Implement `ptr_mask` intrinsic in cg gcc
WaffleLapkin May 11, 2022
1acc3b4
Fix `ptr_mask` impl in cg gcc
WaffleLapkin May 13, 2022
93191f6
Box `CastTarget` within `PassMode`.
nnethercote Aug 25, 2022
f78592f
Change `FnAbi::args` to a boxed slice.
nnethercote Aug 25, 2022
5a69929
Simplify arg capacity calculations.
nnethercote Aug 26, 2022
d83636d
Turn `ArgAbi::pad` into a `bool`.
nnethercote Aug 25, 2022
8900341
Move `ArgAbi::pad_i32` into `PassMode::Cast`.
nnethercote Aug 25, 2022
1a61b6e
Auto merge of #100999 - nnethercote:shrink-FnAbi, r=bjorn3
bors Aug 27, 2022
c32ad5c
interpret: rename relocation → provenance
RalfJung Aug 27, 2022
7006047
Auto merge of #96946 - WaffleLapkin:ptr_mask, r=scottmcm
bors Aug 28, 2022
f2d73af
Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obk
Dylan-DPC Aug 30, 2022
ecb8613
Rollup merge of #100653 - cuviper:fptoint_sat, r=michaelwoerister,antoyo
Dylan-DPC Aug 30, 2022
c3dce60
Remove dead broken code from const zst handling in backends
oli-obk Sep 6, 2022
23eae52
Add RanlibFailure
ellishg Aug 27, 2022
7277046
Add LinkageConstOrMutType
ellishg Aug 27, 2022
7fc07ca
Add UnwindingInlineAsm
ellishg Aug 27, 2022
33b58eb
Add LTONotSupported
ellishg Aug 27, 2022
534ce39
Add LayoutSizeOverflow
ellishg Aug 27, 2022
1f3ae14
Lint against untranslatable diagnostics in rustc_codegen_gcc
ellishg Aug 27, 2022
ff9bf7b
remove IntoDiagnosticArg impl for Option
ellishg Aug 30, 2022
d3bb849
Add wrapper type for ExitCode for use in RanlibFailure
ellishg Sep 1, 2022
70ab054
lint type
ellishg Sep 1, 2022
059326c
Add monomorphization errors
ellishg Sep 11, 2022
5c839d9
impl SessionDiagnostic for LayoutError and Spanned<T>
ellishg Sep 12, 2022
43b3206
rebase and update trait names
ellishg Sep 24, 2022
0ae1e27
fix lifetime error
ellishg Sep 24, 2022
d1741f6
remove comment
ellishg Sep 24, 2022
277b997
lint and remove unused diagnostic
ellishg Sep 27, 2022
4d39883
Stabilize bench_black_box
Urgau Sep 24, 2022
5ae3bf2
print <signal> when ranlib failed without an exit code
ellishg Sep 29, 2022
869203c
Rollup merge of #101075 - ellishg:rustc_codegen_gcc_diagnostics, r=da…
matthiaskrgr Sep 30, 2022
2db7a87
Remove unused Context assoc type from WriteBackendMethods
bjorn3 Oct 1, 2022
29edc88
Remove several unused methods from MiscMethods
bjorn3 Oct 1, 2022
69a065e
Remove unused target_cpu and tune_cpu methods from ExtraBackendMethods
bjorn3 Oct 1, 2022
3f43ee2
Merge apply_attrs_callsite into call and invoke
bjorn3 Oct 1, 2022
af0b18b
Remove dynamic_alloca from BuilderMethods
bjorn3 Oct 1, 2022
413edf6
Remove type argument of array_alloca and rename to byte_array_alloca
bjorn3 Oct 1, 2022
f0e4083
Auto merge of #2583 - RalfJung:rustup, r=oli-obk
bors Oct 8, 2022
14e0e0f
Stabilize asm_sym
Amanieu Oct 17, 2022
1e9d9b1
merge rustc history
RalfJung Oct 21, 2022
d3b02e3
Migrate all diagnostics
Noratrieb Oct 22, 2022
e30385b
Support raw-dylib functions being used inside inlined functions
dpaoliello Oct 12, 2022
a1d984c
Auto merge of #103392 - RalfJung:miri, r=oli-obk
bors Oct 25, 2022
5a1c8e8
Rewrite implementation of `#[alloc_error_handler]`
Amanieu Oct 14, 2022
87237cb
Add type_array to BaseTypeMethods
Ayush1325 Nov 6, 2022
e876f43
fix cranelift and gcc
RalfJung Nov 6, 2022
2596ab4
Allow actual AVX512-related feature names in the case of some mislead…
calebzulawski Oct 30, 2022
358419c
add is_sized method on Abi and Layout, and use it
RalfJung Nov 13, 2022
695c76c
Use custom entry name in gcc
Ayush1325 Nov 15, 2022
eb0bc47
Auto merge of #104054 - RalfJung:byte-provenance, r=oli-obk
bors Nov 15, 2022
af8682b
Introduce composite debuginfo.
cjgillot Oct 1, 2022
d2d2b28
Auto merge of #102570 - cjgillot:deagg-debuginfo, r=oli-obk
bors Nov 15, 2022
d01b63a
Use `&mut Bx` more.
nnethercote Nov 9, 2022
5d862b8
Rollup merge of #103750 - calebzulawski:master, r=workingjubilee
matthiaskrgr Nov 16, 2022
ee50714
Auto merge of #103138 - nnethercote:merge-BBs, r=bjorn3
bors Nov 17, 2022
20ff362
Rollup merge of #104001 - Ayush1325:custom-entry, r=bjorn3
Dylan-DPC Nov 19, 2022
3951167
Remove more redundant `all`s
ChrisDenton Nov 26, 2022
690085c
Rewrite LLVM's archive writer in Rust
bjorn3 May 28, 2022
38dfdee
Prefer doc comments over `//`-comments in compiler
WaffleLapkin Nov 27, 2022
f9805a2
Rollup merge of #104976 - WaffleLapkin:move_comments, r=cjgillot
matthiaskrgr Nov 27, 2022
12224e8
Auto merge of #97485 - bjorn3:new_archive_writer, r=wesleywiser
bors Dec 3, 2022
213ced1
Destruct landing_pad return value before passing it to cg_ssa
bjorn3 Dec 3, 2022
6181cb2
Move linkage type check to HIR analysis and fix semantics issues.
pcc Nov 24, 2022
d5f7c20
Add LLVM KCFI support to the Rust compiler
rcvalle Nov 22, 2022
79f7b7b
Rollup merge of #105109 - rcvalle:rust-kcfi, r=bjorn3
matthiaskrgr Dec 10, 2022
ac4e9ca
Add `round_ties_even` to `f32` and `f64`
Jules-Bertholet Mar 25, 2022
6ec5ebd
Auto merge of #105252 - bjorn3:codegen_less_pair_values, r=nagisa
bors Dec 12, 2022
b4e9ba5
rustc: Remove needless lifetimes
jeremystucki Dec 20, 2022
2d09c9b
Add missing anonymous lifetime
jeremystucki Dec 20, 2022
26c010c
Simplify some iterator combinators
compiler-errors Dec 10, 2022
2671f37
Change `src/test` to `tests` in source files, fix tidy and tests
albertlarsan68 Jan 5, 2023
559b57e
abi: add `AddressSpace` field to `Primitive::Pointer`
erikdesjardins Jan 23, 2023
01241f8
create and use GlobalAlloc::address_space
erikdesjardins Jan 25, 2023
9c6f7cb
session: diagnostic migration lint on more fns
davidtwco Aug 19, 2022
4238ce2
s/eval_usize/eval_target_usize/ for clarity
oli-obk Feb 14, 2023
3e14bba
errors: generate typed identifiers in each crate
davidtwco Oct 13, 2022
984945a
various: translation resources from cg backend
davidtwco Oct 17, 2022
aefda57
Remove type-traversal trait aliases
eggyal Feb 22, 2023
bfa228b
Auto merge of #108340 - eggyal:remove_traversal_trait_aliases, r=oli-obk
bors Feb 22, 2023
5b0dbc4
Rename many interner functions.
nnethercote Feb 17, 2023
ea83d6f
Use `List::empty()` instead of `mk_substs(&[])`.
nnethercote Feb 20, 2023
d725cfb
Merge commit '08a6d6e16b5efe217123e780398969946266268f' into sync-cg_…
antoyo Mar 5, 2023
9453873
Update gccjit
antoyo Mar 5, 2023
cf9c2f8
Fix for diagnostics
antoyo Mar 5, 2023
7b85215
Auto merge of #95317 - Jules-Bertholet:round_ties_to_even, r=pnkfelix…
bors Mar 7, 2023
cbbaebc
Rollup merge of #108783 - antoyo:sync-cg_gcc-2023-03-04, r=cjgillot
matthiaskrgr Mar 7, 2023
8652bbb
replace legacy copyright annotations in submodules
pietroalbini Nov 17, 2022
fe93911
Simplify message paths
est31 Mar 2, 2023
ee38de5
Remove uses of `box_syntax` in rustc and tools
clubby789 Feb 27, 2023
0c115bf
Use poison instead of undef
nikic Mar 16, 2023
2bfd89d
Update gccjit and remove libc 0.1 dependency
uweigand Mar 30, 2023
556ab26
Define MIN_ALIGN for loongarch64
zhaixiaojuan Mar 28, 2023
8541fce
Rollup merge of #96971 - zhaixiaojuan:master, r=wesleywiser
compiler-errors Apr 12, 2023
387718f
Add inline assembly support for m68k
ids1024 Apr 6, 2023
6883c25
Auto merge of #109989 - ids1024:m68k-asm, r=Amanieu
bors Apr 13, 2023
5f30b63
Remove #[alloc_error_handler] from the compiler and library
Amanieu Mar 22, 2023
f40e4da
Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`
Noratrieb Apr 16, 2023
7dc2487
Merge from rustc
RalfJung Apr 22, 2023
321337b
Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco
bors Apr 22, 2023
fab5943
Merge from rustc
RalfJung Apr 24, 2023
94735c7
Revert "Remove #[alloc_error_handler] from the compiler and library"
matthiaskrgr Apr 24, 2023
7ec90e3
Add loongarch64 asm! support
zhaixiaojuan Aug 19, 2022
403ebdc
Auto merge of #101069 - zhaixiaojuan:loongarch64-inline-asm, r=Amanieu
bors Apr 25, 2023
9c69c0d
Merge from rustc
RalfJung Apr 26, 2023
43f2b16
rename `needs_infer` to `has_infer`
BoxyUwU Apr 27, 2023
f822f8f
Merge from rustc
RalfJung Apr 28, 2023
7a48ba9
Merge from rustc
RalfJung Apr 30, 2023
0d183f8
Add cross-language LLVM CFI support to the Rust compiler
rcvalle Dec 13, 2022
6933be5
Rollup merge of #105452 - rcvalle:rust-cfi-3, r=bjorn3
Manishearth May 3, 2023
77375ab
Use `landingpad filter` to encode aborting landing pad
nbdd0121 Nov 6, 2022
59177fc
Add todo for filter landing pad
nbdd0121 Apr 8, 2023
35836b3
Don't use an allocator shim for `#[global_allocator]`
bjorn3 Jul 3, 2021
c50427b
Split AllocatorKind::fn_name in global_fn_name and default_fn_name
bjorn3 Jul 3, 2021
2be697f
Use global_fn_name instead of format!
bjorn3 Jul 6, 2021
da466a2
Prevent insta-stable no alloc shim support
bjorn3 Sep 10, 2022
e5b5842
Move expansion of query macros in rustc_middle to rustc_middle::query
Zoxc May 15, 2023
a3c1f42
Auto merge of #86844 - bjorn3:global_alloc_improvements, r=pnkfelix
bors May 25, 2023
d9d12d7
Ensure Fluent messages are in alphabetical order
clubby789 May 23, 2023
80efecf
Stop creating intermediate places just to immediate convert them to o…
oli-obk May 19, 2023
afe5787
Auto merge of #111768 - oli-obk:pair_const_llvm, r=cjgillot
bors May 30, 2023
3d0a0dc
Add a distinct `OperandValue::ZeroSized` variant for ZSTs
scottmcm May 7, 2023
f16ca93
Use translatable diagnostics in `rustc_const_eval`
fee1-dead May 17, 2023
8430ec5
Updated cranelift codegen to reflect modified trait signature
ndrewxie Apr 7, 2023
8c2b14f
Update to nightly-2023-06-11
antoyo Jun 11, 2023
c8376e4
Add usage of git subtree to readme
antoyo Jun 3, 2023
94e5c27
Update libgccjit and mini_core
antoyo Jun 3, 2023
3d4c59e
Merge branch 'master' into sync_from_rust_2023_06_11
antoyo Jun 11, 2023
4115e09
Fix for opaque pointers
antoyo Jun 4, 2023
e74bc51
Attempt to fix the tests
antoyo Jun 4, 2023
6f858a2
Add missing cast to fix another issue caused by opaque pointers
antoyo Jun 9, 2023
984b9c5
Improve sync instructions
antoyo Jun 9, 2023
e9708eb
Add note
antoyo Jun 10, 2023
a0edbfb
Test to fix UI tests
antoyo Jun 11, 2023
90527b8
Some fixes and cleanups
antoyo Jun 11, 2023
3371fce
Fix tests
antoyo Jun 11, 2023
ef037e6
Fix tests
antoyo Jun 11, 2023
8bba646
Cleanup
antoyo Jun 12, 2023
9483008
Tests for the CI
antoyo Jun 13, 2023
218575a
Working, but requires a patched rustc
antoyo Jun 16, 2023
45bca00
Handle alignment of the load instruction
antoyo Jun 16, 2023
8560b07
TO REVERT: temporarily add a patch for rustc
antoyo Jun 16, 2023
3d7ec59
Fix for check_ptr_call for variadic functions
antoyo Jun 17, 2023
607cbfd
Cleanup and update to rustc 2023-06-19
antoyo Jun 18, 2023
37413a2
Fix indent
antoyo Jun 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ master = ["gccjit/master"]
gccjit = { git = "https://github.com/antoyo/gccjit.rs" }

# Local copy.
# gccjit = { path = "../gccjit.rs" }
#gccjit = { path = "../gccjit.rs" }

smallvec = { version = "1.6.1", features = ["union", "may_dangle"] }

Expand Down
17 changes: 16 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ Using git-subtree with `rustc` requires a patched git to make it work.
The PR that is needed is [here](https://github.com/gitgitgadget/git/pull/493).
Use the following instructions to install it:

```
```bash
git clone [email protected]:tqc/git.git
cd git
git checkout tqc/subtree
Expand All @@ -204,6 +204,21 @@ make
cp git-subtree ~/bin
```

Then, do a sync with this command:

```bash
PATH="$HOME/bin:$PATH" ~/bin/git-subtree push -P compiler/rustc_codegen_gcc/ ../rustc_codegen_gcc/ sync_branch_name
cd ../rustc_codegen_gcc
git checkout master
git pull
git checkout sync_branch_name
git merge master
```

TODO: write a script that does the above.

https://rust-lang.zulipchat.com/#narrow/stream/301329-t-devtools/topic/subtree.20madness/near/258877725

### How to use [mem-trace](https://github.com/antoyo/mem-trace)

`rustc` needs to be built without `jemalloc` so that `mem-trace` can overload `malloc` since `jemalloc` is linked statically, so a `LD_PRELOAD`-ed library won't a chance to intercept the calls to `malloc`.
Expand Down
1 change: 1 addition & 0 deletions build_sysroot/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ compiler_builtins = "0.1"
alloc = { path = "./sysroot_src/library/alloc" }
std = { path = "./sysroot_src/library/std", features = ["panic_unwind", "backtrace"] }
test = { path = "./sysroot_src/library/test" }
proc_macro = { path = "./sysroot_src/library/proc_macro" }

[patch.crates-io]
rustc-std-workspace-core = { path = "./sysroot_src/library/rustc-std-workspace-core" }
Expand Down
8 changes: 4 additions & 4 deletions build_sysroot/prepare_sysroot_src.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ git config user.name || git config user.name "None"

git commit -m "Initial commit" -q
for file in $(ls ../../patches/ | grep -v patcha); do
echo "[GIT] apply" $file
git apply ../../patches/$file
git add -A
git commit --no-gpg-sign -m "Patch $file"
echo "[GIT] apply" $file
git apply ../../patches/$file
git add -A
git commit --no-gpg-sign -m "Patch $file"
done
popd

Expand Down
4 changes: 2 additions & 2 deletions example/alloc_example.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(start, box_syntax, core_intrinsics, alloc_error_handler, lang_items)]
#![feature(start, core_intrinsics, alloc_error_handler, lang_items)]
#![no_std]

extern crate alloc;
Expand Down Expand Up @@ -38,7 +38,7 @@ unsafe extern "C" fn _Unwind_Resume() {

#[start]
fn main(_argc: isize, _argv: *const *const u8) -> isize {
let world: Box<&str> = box "Hello World!\0";
let world: Box<&str> = Box::new("Hello World!\0");
unsafe {
puts(*world as *const str as *const u8);
}
Expand Down
13 changes: 4 additions & 9 deletions example/alloc_system.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright 2015 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// SPDX-License-Identifier: MIT OR Apache-2.0
// SPDX-FileCopyrightText: The Rust Project Developers (see https://thanks.rust-lang.org)

#![no_std]
#![feature(allocator_api, rustc_private)]
#![cfg_attr(any(unix, target_os = "redox"), feature(libc))]
Expand All @@ -21,6 +15,7 @@
const MIN_ALIGN: usize = 8;
#[cfg(any(target_arch = "x86_64",
target_arch = "aarch64",
target_arch = "loongarch64",
target_arch = "mips64",
target_arch = "s390x",
target_arch = "sparc64"))]
Expand Down
24 changes: 18 additions & 6 deletions example/mini_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,9 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
drop_in_place(to_drop);
}

#[lang = "unpin"]
pub auto trait Unpin {}

#[lang = "deref"]
pub trait Deref {
type Target: ?Sized;
Expand Down Expand Up @@ -488,9 +491,23 @@ pub struct Box<T: ?Sized, A: Allocator = Global>(Unique<T>, A);

impl<T: ?Sized + Unsize<U>, U: ?Sized, A: Allocator> CoerceUnsized<Box<U, A>> for Box<T, A> {}

impl<T> Box<T> {
pub fn new(val: T) -> Box<T> {
unsafe {
let size = intrinsics::size_of::<T>();
let ptr = libc::malloc(size);
intrinsics::copy(&val as *const T as *const u8, ptr, size);
Box(Unique { pointer: NonNull(ptr as *const T), _marker: PhantomData }, Global)
}
}
}

impl<T: ?Sized, A: Allocator> Drop for Box<T, A> {
fn drop(&mut self) {
// drop is currently performed by compiler.
// inner value is dropped by compiler.
unsafe {
libc::free(self.0.pointer.0 as *mut u8);
}
}
}

Expand All @@ -507,11 +524,6 @@ unsafe fn allocate(size: usize, _align: usize) -> *mut u8 {
libc::malloc(size)
}

#[lang = "box_free"]
unsafe fn box_free<T: ?Sized>(ptr: Unique<T>, _alloc: ()) {
libc::free(ptr.pointer.0 as *mut u8);
}

#[lang = "drop"]
pub trait Drop {
fn drop(&mut self);
Expand Down
8 changes: 4 additions & 4 deletions example/mini_core_hello_world.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Adapted from https://github.com/sunfishcode/mir2cranelift/blob/master/rust-examples/nocore-hello-world.rs

#![feature(
no_core, unboxed_closures, start, lang_items, box_syntax, never_type, linkage,
no_core, unboxed_closures, start, lang_items, never_type, linkage,
extern_types, thread_local
)]
#![no_core]
Expand Down Expand Up @@ -163,7 +163,7 @@ fn main() {
let ptr: *const u8 = hello as *const [u8] as *const u8;
puts(ptr);

let world: Box<&str> = box "World!\0";
let world: Box<&str> = Box::new("World!\0");
puts(*world as *const str as *const u8);
world as Box<dyn SomeTrait>;

Expand Down Expand Up @@ -226,10 +226,10 @@ fn main() {
}
}

let _ = box NoisyDrop {
let _ = Box::new(NoisyDrop {
text: "Boxed outer got dropped!\0",
inner: NoisyDropInner,
} as Box<dyn SomeTrait>;
}) as Box<dyn SomeTrait>;

const FUNC_REF: Option<fn()> = Some(main);
#[allow(unreachable_code)]
Expand Down
2 changes: 1 addition & 1 deletion example/mod_bench.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![feature(start, box_syntax, core_intrinsics, lang_items)]
#![feature(start, core_intrinsics, lang_items)]
#![no_std]

#[link(name = "c")]
Expand Down
6 changes: 4 additions & 2 deletions failing-ui-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ tests/ui/issues/issue-40883.rs
tests/ui/issues/issue-43853.rs
tests/ui/issues/issue-47364.rs
tests/ui/macros/rfc-2011-nicer-assert-messages/assert-without-captures-does-not-create-unnecessary-code.rs
tests/ui/rfc-2091-track-caller/std-panic-locations.rs
tests/ui/rfcs/rfc1857-drop-order.rs
tests/ui/rfcs/rfc-2091-track-caller/std-panic-locations.rs
tests/ui/rfcs/rfc-1857-stabilize-drop-order/drop-order.rs
tests/ui/simd/issue-17170.rs
tests/ui/simd/issue-39720.rs
tests/ui/simd/issue-89193.rs
Expand All @@ -66,3 +66,5 @@ tests/ui/generator/panic-safe.rs
tests/ui/issues/issue-14875.rs
tests/ui/issues/issue-29948.rs
tests/ui/panic-while-printing.rs
tests/ui/enum-discriminant/get_discr.rs
tests/ui/panics/nested_panic_caught.rs
68 changes: 68 additions & 0 deletions messages.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
codegen_gcc_invalid_minimum_alignment =
invalid minimum global alignment: {$err}

codegen_gcc_invalid_monomorphization_basic_integer =
invalid monomorphization of `{$name}` intrinsic: expected basic integer type, found `{$ty}`

codegen_gcc_invalid_monomorphization_expected_signed_unsigned =
invalid monomorphization of `{$name}` intrinsic: expected element type `{$elem_ty}` of vector type `{$vec_ty}` to be a signed or unsigned integer type

codegen_gcc_invalid_monomorphization_expected_simd =
invalid monomorphization of `{$name}` intrinsic: expected SIMD {$expected_ty} type, found non-SIMD `{$found_ty}`

codegen_gcc_invalid_monomorphization_inserted_type =
invalid monomorphization of `{$name}` intrinsic: expected inserted type `{$in_elem}` (element of input `{$in_ty}`), found `{$out_ty}`

codegen_gcc_invalid_monomorphization_invalid_bitmask =
invalid monomorphization of `{$name}` intrinsic: invalid bitmask `{$ty}`, expected `u{$expected_int_bits}` or `[u8; {$expected_bytes}]`

codegen_gcc_invalid_monomorphization_invalid_float_vector =
invalid monomorphization of `{$name}` intrinsic: unsupported element type `{$elem_ty}` of floating-point vector `{$vec_ty}`

codegen_gcc_invalid_monomorphization_mask_type =
invalid monomorphization of `{$name}` intrinsic: mask element type is `{$ty}`, expected `i_`

codegen_gcc_invalid_monomorphization_mismatched_lengths =
invalid monomorphization of `{$name}` intrinsic: mismatched lengths: mask length `{$m_len}` != other vector length `{$v_len}`

codegen_gcc_invalid_monomorphization_not_float =
invalid monomorphization of `{$name}` intrinsic: `{$ty}` is not a floating-point type

codegen_gcc_invalid_monomorphization_return_element =
invalid monomorphization of `{$name}` intrinsic: expected return element type `{$in_elem}` (element of input `{$in_ty}`), found `{$ret_ty}` with element type `{$out_ty}`

codegen_gcc_invalid_monomorphization_return_integer_type =
invalid monomorphization of `{$name}` intrinsic: expected return type with integer elements, found `{$ret_ty}` with non-integer `{$out_ty}`

codegen_gcc_invalid_monomorphization_return_length =
invalid monomorphization of `{$name}` intrinsic: expected return type of length {$in_len}, found `{$ret_ty}` with length {$out_len}

codegen_gcc_invalid_monomorphization_return_length_input_type =
invalid monomorphization of `{$name}` intrinsic: expected return type with length {$in_len} (same as input type `{$in_ty}`), found `{$ret_ty}` with length {$out_len}

codegen_gcc_invalid_monomorphization_return_type =
invalid monomorphization of `{$name}` intrinsic: expected return type `{$in_elem}` (element of input `{$in_ty}`), found `{$ret_ty}`

codegen_gcc_invalid_monomorphization_simd_shuffle =
invalid monomorphization of `{$name}` intrinsic: simd_shuffle index must be an array of `u32`, got `{$ty}`

codegen_gcc_invalid_monomorphization_unrecognized =
invalid monomorphization of `{$name}` intrinsic: unrecognized intrinsic `{$name}`

codegen_gcc_invalid_monomorphization_unsupported_cast =
invalid monomorphization of `{$name}` intrinsic: unsupported cast from `{$in_ty}` with element `{$in_elem}` to `{$ret_ty}` with element `{$out_elem}`

codegen_gcc_invalid_monomorphization_unsupported_element =
invalid monomorphization of `{$name}` intrinsic: unsupported {$name} from `{$in_ty}` with element `{$elem_ty}` to `{$ret_ty}`

codegen_gcc_invalid_monomorphization_unsupported_operation =
invalid monomorphization of `{$name}` intrinsic: unsupported operation on `{$in_ty}` with element `{$in_elem}`

codegen_gcc_lto_not_supported =
LTO is not supported. You may get a linker error.

codegen_gcc_tied_target_features = the target features {$features} must all be either enabled or disabled together
.help = add the missing features in a `target_feature` attribute

codegen_gcc_unwinding_inline_asm =
GCC backend does not support unwinding from inline asm
49 changes: 0 additions & 49 deletions patches/0023-core-Ignore-failing-tests.patch

This file was deleted.

2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2023-03-02"
channel = "nightly-2023-06-19"
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]
Loading