Commit Graph

19 Commits

Author SHA1 Message Date
Antoni Boucher 47d1fdf736 Merge commit '4ac6a5c9ad2077d28e8d6e61d8746c0d84aa4bd4' into sync-cg_gcc-2023-06-19 2023-06-19 18:51:02 -04:00
DrMeepster 1b3ed06ebd remove box_free and replace with drop impl 2023-06-16 13:41:06 -07:00
Matthias Krüger da31bb3f77 Revert "Remove #[alloc_error_handler] from the compiler and library"
This reverts commit e118134c24.
2023-04-25 00:08:35 +02:00
Amanieu d'Antras e118134c24 Remove #[alloc_error_handler] from the compiler and library 2023-04-16 08:35:50 -07:00
zhaixiaojuan ffc5dd0446 Define MIN_ALIGN for loongarch64 2023-04-08 00:09:54 +08:00
clubby789 b2a37c4b05 Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
Pietro Albini a3c21257ba replace legacy copyright annotations in submodules 2023-03-09 12:24:47 +01:00
Antoni Boucher 4cef86426e Merge commit '3f07b8401e793f9e3269dc070eccc19e770caf93' into sync-cg_gcc-2023-03-04 2023-03-05 12:03:19 -05:00
Chris Denton c64a4cc0ba Remove more redundant alls 2022-11-26 09:54:54 +00:00
Maybe Waffle 603c757876 Replace most uses of pointer::offset with add and sub 2022-08-21 02:21:41 +04:00
Yuki Okushi 84a57407f9 Rollup merge of #97675 - nvzqz:unsized-needs-drop, r=dtolnay
Make `std::mem::needs_drop` accept `?Sized`

This change attempts to make `needs_drop` work with types like `[u8]` and `str`.

This enables code in types like `Arc<T>` that was not possible before, such as https://github.com/rust-lang/rust/pull/97676.
2022-06-17 07:16:55 +09:00
Antoni Boucher dd832a4097 Merge commit 'caff969113e27728e405812043a374ed277d73ca' into sync_from_cg_gcc 2022-06-06 22:04:37 -04:00
Nikolai Vazquez 0ecfaf8c87 Fix unsized field order 2022-06-03 12:58:36 -04:00
Nikolai Vazquez 3147b28e0b Make std::mem::needs_drop accept ?Sized 2022-06-03 03:28:19 -04:00
Yuri Astrakhan cbe4379412 Spellchecking some comments
This PR attempts to clean up some minor spelling mistakes in comments
2022-03-30 01:39:38 -04:00
bjorn3 f8c8dd1e36 Merge commit '24e31e456c79db4fca9c31994a1b328b7537a825' into sync_cg_gcc-2022-03-26 2022-03-26 18:29:37 +01:00
Amanieu d'Antras 267a81a1a5 Remove alloc::prelude
As per the libs team decision in #58935.

Closes #58935
2021-10-15 01:41:31 +02:00
Antoni Boucher c61f820354 Merge commit '41e20f5e2b773595f0fe37cee8d4d5ab1de4c9c6' into libgccjit-codegen 2021-08-15 08:29:07 -04:00
Antoni Boucher bc3dc0e1e9 Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
git-subtree-dir: compiler/rustc_codegen_gcc
git-subtree-mainline: 4568918794
git-subtree-split: afae271d5d
2021-08-12 21:53:49 -04:00