about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example
AgeCommit message (Collapse)AuthorLines
2024-02-29Forbid implementing `Freeze` even if the trait is stabilizedOli Scherer-0/+1
2024-02-25fix use of platform_intrinsics in testsRalf Jung-5/+2
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-2/+2
2024-02-18Improve wording of static_mut_refObei Sideg-2/+2
Rename `static_mut_ref` lint to `static_mut_refs`.
2024-01-24remove StructuralEq traitRalf Jung-3/+0
2024-01-07Update test for `E0796` and `static_mut_ref` lintObei Sideg-0/+3
2023-12-24Fix borked subtree syncsbjorn3-255/+32
2023-12-19Merge commit '3a9bf729322fb5035518f99b9d76a742bf7c124e' into ↵bjorn3-11/+0
sync_cg_clif-2023-12-19
2023-12-14update use of feature flagslcnr-1/+1
2023-12-13Auto merge of #118534 - RalfJung:extern-type-size-of-val, r=WaffleLapkinbors-55/+0
codegen: panic when trying to compute size/align of extern type The alignment is also computed when accessing a field of extern type at non-zero offset, so we also panic in that case. Previously `size_of_val` worked because the code path there assumed that "thin pointer" means "sized". But that's not true any more with extern types. The returned size and align are just blatantly wrong, so it seems better to panic than returning wrong results. We use a non-unwinding panic since code probably does not expect size_of_val to panic.
2023-12-12remove a cranelift test that doesn't make sense any moreRalf Jung-55/+0
2023-12-06Adjust tests for newly added ambiguous_wide_pointer_comparisons lintUrgau-1/+1
2023-11-25Merge commit '710c67909d034e1c663174a016ca82b95c2d6c12' into ↵bjorn3-0/+16
sync_cg_clif-2023-11-25
2023-11-23Fix fn_sig_for_fn_abi and the coroutine transform for generatorsbjorn3-0/+36
There were three issues previously: * The self argument was pinned, despite Iterator::next taking an unpinned mutable reference. * A resume argument was passed, despite Iterator::next not having one. * The return value was CoroutineState<Item, ()> rather than Option<Item> While these things just so happened to work with the LLVM backend, cg_clif does much stricter checks when trying to assign a value to a place. In addition it can't handle the mismatch between the amount of arguments specified by the FnAbi and the FnSig.
2023-11-10Merge commit 'c84d1871dc4456539b7b578830268ab3539915d0' into ↵bjorn3-0/+234
sync_cg_clif-2023-11-10
2023-10-24Merge commit '93a5433f17ab5ed48cc88f1e69b0713b16183373' into ↵bjorn3-0/+11
sync_cg_clif-2023-10-24
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-09Merge commit '81dc066758ec150b43822d4a0c84aae20fe10f40' into ↵bjorn3-0/+6
sync_cg_clif-2023-10-09
2023-08-09Merge commit '8f9ac9c22d6594cf059d8e6c71d414cc5ccd7975' into ↵bjorn3-2/+2
sync_cg_clif-2023-08-09
2023-07-22Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into ↵bjorn3-2/+61
sync_cg_clif-2023-07-22
2023-07-18support for mips64r6 as a target_arch valuechenx97-1/+1
2023-06-16remove box_free and replace with drop implDrMeepster-6/+2
2023-06-15Merge commit '8830dccd1d4c74f1f69b0d3bd982a3f1fcde5807' into ↵bjorn3-7/+93
sync_cg_clif-2023-06-15
2023-04-29Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into ↵bjorn3-62/+100
sync_cg_clif-2023-04-29
2023-04-25Revert "Remove #[alloc_error_handler] from the compiler and library"Matthias Krüger-1/+6
This reverts commit abc0660118cc95f47445fd33502a11dd448f5968.
2023-04-16Remove #[alloc_error_handler] from the compiler and libraryAmanieu d'Antras-6/+1
2023-03-15Merge commit 'dec0daa8f6d0a0e1c702f169abb6bf3eee198c67' into ↵bjorn3-83/+314
sync_cg_clif-2023-03-15
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-6/+6
2023-03-09replace legacy copyright annotations in submodulesPietro Albini-9/+3
2022-12-14Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into ↵bjorn3-4/+31
sync_cg_clif-2022-12-14
2022-10-23Merge commit '266e96785ab71834b917bf474f130a6d8fdecd4b' into ↵bjorn3-1/+7
sync_cg_clif-2022-10-23
2022-09-27Stabilize bench_black_boxUrgau-1/+1
2022-08-24Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into ↵bjorn3-18/+111
sync_cg_clif-2022-08-24
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-1/+1
2022-07-25Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into ↵bjorn3-3/+64
sync_cg_clif-2022-07-25
2022-07-09Partially stabilize const_slice_from_raw_partsKonrad Borowski-1/+0
This doesn't stabilize methods working on mutable pointers.
2022-06-03Fix unsized field orderNikolai Vazquez-1/+1
2022-06-03Make `std::mem::needs_drop` accept `?Sized`Nikolai Vazquez-1/+8
2022-04-22Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into ↵bjorn3-6/+73
sync_cg_clif-2022-04-22
2022-03-30Spellchecking some commentsYuri Astrakhan-1/+1
This PR attempts to clean up some minor spelling mistakes in comments
2022-03-20Merge commit '370c397ec9169809e5ad270079712e0043514240' into ↵bjorn3-129/+53
sync_cg_clif-2022-03-20
2021-12-30Merge commit '40b00f4200fbdeefd11815398cb46394b8cb0a5e' into ↵bjorn3-0/+1
sync_cg_clif-2021-12-30
2021-12-20Merge commit '97e504549371d7640cf011d266e3c17394fdddac' into ↵bjorn3-0/+60
sync_cg_clif-2021-12-20
2021-10-15Remove alloc::preludeAmanieu d'Antras-2/+2
As per the libs team decision in #58935. Closes #58935
2021-09-19Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into ↵bjorn3-2/+2
sync_cg_clif-2021-09-19
2021-08-18remove box_syntax uses from cranelift and toolsMarcel Hellwig-3/+3
2021-07-07Merge commit '3a31c6d8272c14388a34622193baf553636fe470' into ↵bjorn3-5/+3
sync_cg_clif-2021-07-07
2021-05-27Merge commit '40dd3e2b7089b5e96714e064b731f6dbf17c61a9' into ↵bjorn3-15/+1
sync_cg_clif-2021-05-27
2021-04-30Sync rustc_codegen_cranelift 'ddd4ce25535cf71203ba3700896131ce55fde795'Erin Power-19/+27