diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-10-31 17:50:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-31 17:50:44 -0700 |
| commit | a25ab33770f9430640f6de8d44489a50df5a2031 (patch) | |
| tree | 0a8ddef6ecced49c7d3418a5d35c93c49c89f131 /compiler/rustc_codegen_llvm/src | |
| parent | a25041fd7759bafbc8750075ef11b1bd40abb5dd (diff) | |
| parent | abb05c0fd50fed5d5a59f8fcd9ec95532c070a4a (diff) | |
| download | rust-a25ab33770f9430640f6de8d44489a50df5a2031.tar.gz rust-a25ab33770f9430640f6de8d44489a50df5a2031.zip | |
Rollup merge of #132421 - beetrees:riscv-abi-no-empty-string, r=workingjubilee
Remove `""` case from RISC-V `llvm_abiname` match statement For RISC-V, `""` isn't the always the same ABI as `"ilp32"`/`"lp64"` (`""` means LLVM will infer the ABI based on the enabled target features), but `create_object_file` currently assumes that it is. Since all RISC-V targets explicitly specify their ABI since #131807, this PR removes `""` from the match arm's pattern (meaning an empty string will now fall through to the `_ => bug!` arm). r? `@workingjubilee`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
