about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorAyush Singh <ayushsingh1325@gmail.com>2022-11-06 14:01:46 +0530
committerAyush Singh <ayushsingh1325@gmail.com>2022-11-06 14:18:36 +0530
commit299bc61035466b3e6ce0af78d19996a5eef6e294 (patch)
tree54f57d698c730a54883f28e2d7e3fc048acb2759 /compiler/rustc_codegen_gcc/example/std_example.rs
parent5b3e9090757da9a95b22f589fe39b6a4b5455b96 (diff)
downloadrust-299bc61035466b3e6ce0af78d19996a5eef6e294.tar.gz
rust-299bc61035466b3e6ce0af78d19996a5eef6e294.zip
Add type_array to BaseTypeMethods
Moved type_array function to rustc_codegen_ssa::BaseTypeMethods trait.
This allows using normal alloca function to create arrays as suggested in
https://github.com/rust-lang/rust/pull/104022.

Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions