Repository navigation
Remove type_array from rustc_codegen_ssa - #164926
Conversation
|
|
|
r? @davidtwco rustbot has assigned @davidtwco. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Is there some missing context here? Is that a GPU thing or something? |
|
Backend (e.g. LLVM) types are different the Rust types, and are usually scalars. LLVM also supports basic array and struct types, but some codegen backends like Cranelift don't support aggregates as immediate backend types at all. This is part of the reason why The wording in the PR description was definitely ambiguous - I've updated it to be more explicit. |
|
Ok, makes sense, LGTM r? me @bors r+ rollup |
Rollup of 6 pull requests Successful merges: - #164617 (tools: remote-test-server: Fix UEFI crash return code) - #164549 (feat!: change return type of `TryFromIntError::kind`) - #164893 (Add diagnostic items for env::vars / env::vars_os) - #164897 (Add regression test for CoerceShared impl with unnormalizable target) - #164908 (Add regression test for self referential inherent associated type ICE) - #164926 (Remove `type_array` from `rustc_codegen_ssa`)
Rollup merge of #164926 - beetrees:no-ssa-array, r=folkertdev Remove `type_array` from `rustc_codegen_ssa` It's unused outside of `rustc_codegen_llvm`/`rustc_codegen_gcc`, and shouldn't be used in future in `rustc_codegen_ssa` to help allow backends that don't support immediate aggregate types to use `rustc_codegen_ssa` in the future.
It's unused outside of
rustc_codegen_llvm/rustc_codegen_gcc, and shouldn't be used in future inrustc_codegen_ssato help allow backends that don't support immediate aggregate types to userustc_codegen_ssain the future.