Auto merge of #142911 - mejrs:unsized, r=compiler-errors

Remove support for dynamic allocas

Followup to rust-lang/rust#141811
This commit is contained in:
bors
2025-07-11 05:27:32 +00:00
16 changed files with 163 additions and 94 deletions

View File

@@ -926,10 +926,6 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
.get_address(self.location)
}
fn dynamic_alloca(&mut self, _len: RValue<'gcc>, _align: Align) -> RValue<'gcc> {
unimplemented!();
}
fn load(&mut self, pointee_ty: Type<'gcc>, ptr: RValue<'gcc>, align: Align) -> RValue<'gcc> {
let block = self.llbb();
let function = block.get_function();