]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #97633 - mkroening:object-osabi, r=petrochenkov
authorYuki Okushi <jtitor@2k36.org>
Fri, 24 Jun 2022 07:43:43 +0000 (16:43 +0900)
committerGitHub <noreply@github.com>
Fri, 24 Jun 2022 07:43:43 +0000 (16:43 +0900)
commit0af99c99c4a662fb5a3fe2cd399de7761a1cc235
treef1b92eddd2aa5ff3a90abe744724e730fe1873d4
parent2c6feb51da9dbaa72ea4175ebafe38d78883e47b
parent21625e573036b6af90e71046d817fd7c74fa1f2f
Rollup merge of #97633 - mkroening:object-osabi, r=petrochenkov

Session object: Set OS/ABI

Closes https://github.com/rust-lang/rust/issues/97535.

This depends on
* https://github.com/gimli-rs/object/pull/438

This adapts LLVM's behavior of [`MCELFObjectTargetWriter::getOSABI`](https://github.com/llvm/llvm-project/blob/8c8a2679a20f621994fa904bcfc68775e7345edc/llvm/include/llvm/MC/MCELFObjectWriter.h#L72-L86).
Cargo.lock
compiler/rustc_codegen_ssa/Cargo.toml