aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend
AgeCommit message (Expand)AuthorFilesLines
2025-05-27hir: Add const blocksArthur Cohen4-0/+25
2025-05-26gccrs: Initial support for Return Position Impl TraitPhilip Herron1-1/+3
2025-05-26gccrs: Fix non canonical type bug with tuplesPhilip Herron1-1/+1
2025-05-08gccrs: fix ICE on empty constexpr loopsTom Schollenberger1-0/+3
2025-05-07Improve struct pattern compilationOwen Avery2-29/+17
2025-05-07Revert "backend: Remove checks on StructFieldIdentPattern"Owen Avery1-7/+25
2025-04-30backend: Remove checks on StructFieldIdentPatternArthur Cohen1-25/+7
2025-04-30backend: Compile struct rebinding patternsArthur Cohen2-18/+58
2025-04-30backend: Refactor struct pattern compilationArthur Cohen2-46/+68
2025-04-19gccrs: prealloc the initilizer vectorPhilip Herron1-0/+4
2025-04-17Parse and lower llvm asm nodePierre-Emmanuel Patry5-0/+78
2025-04-07Migrate error state to optionalsPierre-Emmanuel Patry2-7/+8
2025-04-03gccrs: Fix ICE on raw referencePhilip Herron5-12/+11
2025-04-02gccrs: Fix ICE when there are 2 functions named mainPhilip Herron8-21/+15
2025-03-31Evaluate the enum's discriminant in a const contextRyutaro Okada1-0/+2
2025-03-28gccrs: Fix ICE in array ref constexprPhilip Herron1-4/+2
2025-03-27gccrs: Fix ICE during const expr eval on array expressionsPhilip Herron2-1/+6
2025-03-27gccrs: Fix ICE when compiling path which resolves to trait constantPhilip Herron1-0/+21
2025-03-27gccrs: Give the builtin unit struct an actual locusPhilip Herron5-8/+17
2025-03-27gccrs: Fix ICE when compiling block expressions in array capacityPhilip Herron3-1/+29
2025-03-27gccrs: Fix ICE when array elements are not a valuePhilip Herron1-0/+11
2025-03-14gccrs: remove visitor which is not needed herePhilip Herron2-46/+20
2025-03-14Fix some small issuesOwen Avery1-1/+1
2025-02-16gccrs: initial setup for new OpaqueType to represent Impl typesPhilip Herron2-0/+7
2025-02-11gccrs: enum type layout needs to respect the enum repr typePhilip Herron2-14/+5
2025-02-11gccrs: add variant_count intrinsicPhilip Herron1-1/+55
2025-02-11gccrs: add discriminant value intrinsicPhilip Herron1-44/+105
2025-02-04gccrs: Fix compilation of trait-items which map to impl itemsPhilip Herron3-12/+39
2025-02-03nr2.0: Remove accidental copies of resolverOwen Avery3-5/+5
2025-01-29gccrs: add support for ref literal patternsPhilip Herron1-6/+12
2025-01-29gccrs: add new -frust-overflow-checks flag to control overflow checksPhilip Herron1-16/+17
2025-01-29Compile unit struct with constructorPierre-Emmanuel Patry1-0/+5
2025-01-29Remove query mode on CompileItemPierre-Emmanuel Patry2-8/+4
2025-01-28backend: Improve handling of lang-item PathInExpressionsArthur Cohen2-48/+84
2025-01-28hir: Adapt visitors to lang item PathInExpressionsArthur Cohen1-4/+18
2025-01-28gccrs: catch missing guard for optional resultPhilip Herron1-5/+2
2025-01-23backend: Allow anything as a match scrutineeArthur Cohen1-5/+1
2025-01-10rust/intrinsic: add new "catch_unwind" variant of APIliushuyu1-10/+47
2025-01-10rust/intrinsic: add try intrinsic and panic strategy optionsliushuyu1-0/+72
2025-01-10gccrs: match arms are a LUBPhilip Herron1-1/+12
2025-01-10gccrs: cleanup our enum type layout to be closer to rustcPhilip Herron4-78/+127
2025-01-07gccrs: add support for lang_item eq and PartialEq traitPhilip Herron2-3/+29
2025-01-03Remove Rust::make_uniqueOwen Avery1-1/+1
2024-12-13gccrs: implement the TuplePattern and use it for function patternsPhilip Herron4-14/+109
2024-12-02gccrs: add checks for division by zero and left shift overflowPhilip Herron1-3/+5
2024-12-02gccrs: constant evaluation like these are coercion sitesPhilip Herron4-15/+46
2024-11-30hir: Remove duplicate function in TraitItemFuncArthur Cohen1-1/+1
2024-11-27gccrs: ensure packed and aligned is applied properlyPhilip Herron1-3/+5
2024-11-27Prepend crate name to functions with nr2Pierre-Emmanuel Patry1-1/+10
2024-11-22gccrs: empty match expressions should resolve to !Philip Herron1-11/+10