Skip to content

Sync from rust 2023-06-03 #280

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

Closed
wants to merge 130 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
130 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
ddb232a
Update to nightly-2023-06-03
antoyo Jun 3, 2023
389bfb9
Add usage of git subtree to readme
antoyo Jun 3, 2023
b94b10d
Update libgccjit and mini_core
antoyo Jun 3, 2023
62021fe
Merge branch 'master' into sync_from_rust_2023_06_03
antoyo Jun 3, 2023
e831125
Fix for opaque pointers
antoyo Jun 4, 2023
98dff6e
Attempt to fix the tests
antoyo Jun 4, 2023
d90dbe6
Add missing cast to fix another issue caused by opaque pointers
antoyo Jun 9, 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
Prev Previous commit
Next Next commit
Lint against untranslatable diagnostics in rustc_codegen_gcc
  • Loading branch information
ellishg committed Sep 24, 2022
commit 1f3ae14c83aa6f4a7bb8c68cf2deab68b646cfe0
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
#![recursion_limit="256"]
#![warn(rust_2018_idioms)]
#![warn(unused_lifetimes)]
#![deny(rustc::untranslatable_diagnostic)]
#![deny(rustc::diagnostic_outside_of_impl)]

extern crate rustc_apfloat;
extern crate rustc_ast;
Expand Down