]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #90001 - Fearyncess:master, r=alexcrichton
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 13 Jan 2022 07:11:16 +0000 (08:11 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Jan 2022 07:11:16 +0000 (08:11 +0100)
commitc7ada001ec10f7702d98af70d3b8dffabb990f5f
tree3a4078f5f8f78a160568497aabe87ea833532e47
parent256721ee519f6ff15dc5c1cfaf3ebf9af75efa4a
parentcf36c21b289b020ef42dba1e02350672c904ad4a
Rollup merge of #90001 - Fearyncess:master, r=alexcrichton

Make rlib metadata strip works with MIPSr6 architecture

Because MIPSr6 has many differences with previous MIPSr2 arch, the previous rlib metadata stripping code in `rustc_codegen_ssa` is only for MIPSr2/r3/r5 (which share the same elf e_flags).

This commit fixed this problem. It makes `rustc_codegen_ssa` happy when compiling rustc for MIPSr6 target or hosts.

e_flags REF: https://github.com/llvm/llvm-project/blob/e356027016c6365b3d8924f54c33e2c63d931492/llvm/include/llvm/BinaryFormat/ELF.h#L562
Cargo.lock