| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-05-14 | Merge commit '6ba33f5e1189a5ae58fb96ce3546e76b13d090f5' into ↵ | Guillaume Gomez | -16/+38 | |
| subtree-update_cg_gcc_2025-05-14 | ||||
| 2025-04-24 | Suggest {to,from}_ne_bytes for transmutations between arrays and integers, etc | bendn | -6/+2 | |
| 2025-04-18 | Merge commit 'db1a31c243a649e1fe20f5466ba181da5be35c14' into ↵ | Guillaume Gomez | -0/+48 | |
| subtree-update_cg_gcc_2025-04-18 | ||||
| 2025-03-12 | intrinsics: remove unnecessary leading underscore from argument names | Ralf Jung | -8/+8 | |
| 2025-02-24 | remove support for rustc_intrinsic_must_be_overridden from the compiler | Ralf Jung | -52/+13 | |
| 2025-02-13 | Implement and use BikeshedGuaranteedNoDrop for union/unsafe field validity | Michael Goulet | -0/+3 | |
| 2025-01-21 | remove support for the #[start] attribute | Ralf Jung | -40/+5 | |
| 2025-01-15 | Rollup merge of #132397 - m-ou-se:warn-missing-abi, r=Nadrieril | Jacob Pratt | -5/+5 | |
| Make missing_abi lint warn-by-default. This makes the missing_abi lint warn-by-default, as suggested here: https://github.com/rust-lang/rfcs/pull/3722#issuecomment-2447719047 This needs a lang FCP. | ||||
| 2025-01-13 | Merge commit '59a81c2ca1edc88ad3ac4b27a8e03977ffb8e73a' into ↵ | Antoni Boucher | -0/+8 | |
| subtree-update_cg_gcc_2025_01_12 | ||||
| 2025-01-07 | Update tests. | Mara Bos | -5/+5 | |
| 2024-12-07 | Make `Copy` unsafe to implement for ADTs with `unsafe` fields | Jack Wrenn | -18/+18 | |
| As a rule, the application of `unsafe` to a declaration requires that use-sites of that declaration also require `unsafe`. For example, a field declared `unsafe` may only be read in the lexical context of an `unsafe` block. For nearly all safe traits, the safety obligations of fields are explicitly discharged when they are mentioned in method definitions. For example, idiomatically implementing `Clone` (a safe trait) for a type with unsafe fields will require `unsafe` to clone those fields. Prior to this commit, `Copy` violated this rule. The trait is marked safe, and although it has no explicit methods, its implementation permits reads of `Self`. This commit resolves this by making `Copy` conditionally safe to implement. It remains safe to implement for ADTs without unsafe fields, but unsafe to implement for ADTs with unsafe fields. Tracking: #132922 | ||||
| 2024-11-08 | remove support for rustc_safe_intrinsic attribute; use rustc_intrinsic ↵ | Ralf Jung | -22/+64 | |
| functions instead | ||||
| 2024-10-22 | Rename Receiver -> LegacyReceiver | Adrian Taylor | -5/+5 | |
| As part of the "arbitrary self types v2" project, we are going to replace the current `Receiver` trait with a new mechanism based on a new, different `Receiver` trait. This PR renames the old trait to get it out the way. Naming is hard. Options considered included: * HardCodedReceiver (because it should only be used for things in the standard library, and hence is sort-of hard coded) * LegacyReceiver * TargetLessReceiver * OldReceiver These are all bad names, but fortunately this will be temporary. Assuming the new mechanism proceeds to stabilization as intended, the legacy trait will be removed altogether. Although we expect this trait to be used only in the standard library, we suspect it may be in use elsehwere, so we're landing this change separately to identify any surprising breakages. It's known that this trait is used within the Rust for Linux project; a patch is in progress to remove their dependency. This is a part of the arbitrary self types v2 project, https://github.com/rust-lang/rfcs/pull/3519 https://github.com/rust-lang/rust/issues/44874 r? @wesleywiser | ||||
| 2024-08-18 | stabilize raw_ref_op | Ralf Jung | -1/+1 | |
| 2024-08-10 | Fixes in various places | Nadrieril | -0/+1 | |
| 2024-07-28 | stabilize `is_sorted` | Slanterns | -1/+1 | |
| 2024-07-11 | Remove lang feature for type ascription | Michael Goulet | -1/+1 | |
| 2024-07-10 | Merge commit '98ed962c7d3eebe12c97588e61245273d265e72f' into master | Guillaume Gomez | -4/+3 | |
| 2024-05-01 | Step bootstrap cfgs | Mark Rousskov | -1/+0 | |
| 2024-04-24 | Error on using `yield` without also using `#[coroutine]` on the closure | Oli Scherer | -2/+2 | |
| And suggest adding the `#[coroutine]` to the closure | ||||
| 2024-04-23 | Rollup merge of #124003 - WaffleLapkin:dellvmization, r=scottmcm,RalfJung,antoyo | Matthias Krüger | -4/+5 | |
| Dellvmize some intrinsics (use `u32` instead of `Self` in some integer intrinsics) This implements https://github.com/rust-lang/compiler-team/issues/693 minus what was implemented in #123226. Note: I decided to _not_ change `shl`/... builder methods, as it just doesn't seem worth it. r? ``@scottmcm`` | ||||
| 2024-04-20 | Fixup `rustc_codegen_gcc` test signature | Maybe Waffle | -4/+5 | |
| 2024-04-15 | static_mut_refs: use raw pointers to remove the remaining FIXME | Ralf Jung | -4/+2 | |
| 2024-03-22 | Codegen const panic messages as function calls | Mark Rousskov | -0/+30 | |
| This skips emitting extra arguments at every callsite (of which there can be many). For a librustc_driver build with overflow checks enabled, this cuts 0.7MB from the resulting binary. | ||||
| 2024-03-11 | Rollup merge of #121840 - oli-obk:freeze, r=dtolnay | Jacob Pratt | -1/+1 | |
| Expose the Freeze trait again (unstably) and forbid implementing it manually non-emoji version of https://github.com/rust-lang/rust/pull/121501 cc #60715 This trait is useful for generic constants (associated consts of generic traits). See the test (`tests/ui/associated-consts/freeze.rs`) added in this PR for a usage example. The builtin `Freeze` trait is the only way to do it, users cannot work around this issue. It's also a useful trait for building some very specific abstrations, as shown by the usage by the `zerocopy` crate: https://github.com/google/zerocopy/issues/941 cc ```@RalfJung``` T-lang signed off on reexposing this unstably: https://github.com/rust-lang/rust/pull/121501#issuecomment-1969827742 | ||||
| 2024-03-05 | only set noalias on Box with the global allocator | Ralf Jung | -0/+1 | |
| 2024-02-29 | Forbid implementing `Freeze` even if the trait is stabilized | Oli Scherer | -1/+1 | |
| 2024-02-18 | Improve wording of static_mut_ref | Obei Sideg | -2/+2 | |
| Rename `static_mut_ref` lint to `static_mut_refs`. | ||||
| 2024-01-24 | remove StructuralEq trait | Ralf Jung | -3/+0 | |
| 2024-01-07 | Update test for `E0796` and `static_mut_ref` lint | Obei Sideg | -0/+3 | |
| 2023-12-11 | Fix rustc codegen gcc tests | Urgau | -1/+1 | |
| 2023-12-07 | Allow internal_features in rustc_codegen_gcc examples | Urgau | -0/+1 | |
| 2023-11-02 | Remove `libc` dependency in cg_gcc alloc_system example | Guillaume Gomez | -4/+14 | |
| 2023-11-02 | Fix compilation errors in rustc_codegen_gcc examples | Guillaume Gomez | -2/+2 | |
| 2023-10-26 | Merge commit 'e4fe941b11a55c5005630696e9b6d81c65f7bd04' into ↵ | Antoni Boucher | -1/+19 | |
| subtree-update_cg_gcc_2023-10-25 | ||||
| 2023-10-20 | s/generator/coroutine/ | Oli Scherer | -1/+1 | |
| 2023-10-20 | s/Generator/Coroutine/ | Oli Scherer | -1/+1 | |
| 2023-10-09 | Merge commit '11a0cceab966e5ff1058ddbcab5977e8a1d6d290' into ↵ | Antoni Boucher | -3/+15 | |
| subtree-update_cg_gcc_2023-10-09 | ||||
| 2023-08-14 | add a csky-unknown-linux-gnuabiv2 target | Dirreke | -0/+1 | |
| 2023-07-18 | support for mips32r6 as a target_arch value | chenx97 | -0/+1 | |
| 2023-07-18 | support for mips64r6 as a target_arch value | chenx97 | -0/+1 | |
| 2023-06-19 | Merge commit '1bbee3e217d75e7bc3bfe5d8c1b35e776fce96e6' into ↵ | Antoni Boucher | -2/+22 | |
| sync-cg_gcc-2023-06-19 | ||||
| 2023-06-16 | remove box_free and replace with drop impl | DrMeepster | -6/+2 | |
| 2023-04-25 | Revert "Remove #[alloc_error_handler] from the compiler and library" | Matthias Krüger | -1/+6 | |
| This reverts commit abc0660118cc95f47445fd33502a11dd448f5968. | ||||
| 2023-04-16 | Remove #[alloc_error_handler] from the compiler and library | Amanieu d'Antras | -6/+1 | |
| 2023-04-08 | Define MIN_ALIGN for loongarch64 | zhaixiaojuan | -0/+1 | |
| 2023-03-12 | Remove uses of `box_syntax` in rustc and tools | clubby789 | -7/+7 | |
| 2023-03-09 | replace legacy copyright annotations in submodules | Pietro Albini | -9/+3 | |
| 2023-03-05 | Merge commit '08a6d6e16b5efe217123e780398969946266268f' into ↵ | Antoni Boucher | -28/+69 | |
| sync-cg_gcc-2023-03-04 | ||||
| 2022-11-26 | Remove more redundant `all`s | Chris Denton | -4/+4 | |
