File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
compiler/rustc_target/src Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9999 Ty : TyAbiInterface < ' a , C > + Copy ,
100100 C : HasDataLayout + HasTargetSpec ,
101101{
102- let abi = if cx. target_spec ( ) . env == "musl" {
102+ let abi = if cx. target_spec ( ) . env == "musl" || cx . target_spec ( ) . os == "freebsd" {
103103 ELFv2
104104 } else if cx. target_spec ( ) . os == "aix" {
105105 AIX
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ pub(crate) fn target() -> Target {
1111 Target {
1212 llvm_target : "powerpc64-unknown-freebsd" . into ( ) ,
1313 metadata : crate :: spec:: TargetMetadata {
14- description : Some ( "PPC64 FreeBSD (ELFv1 and ELFv2)" . into ( ) ) ,
14+ description : Some ( "PPC64 FreeBSD (ELFv2)" . into ( ) ) ,
1515 tier : Some ( 3 ) ,
1616 host_tools : Some ( true ) ,
1717 std : Some ( true ) ,
Original file line number Diff line number Diff line change @@ -343,7 +343,7 @@ target | std | host | notes
343343[ ` powerpc-unknown-openbsd ` ] ( platform-support/powerpc-unknown-openbsd.md ) | * | |
344344[ ` powerpc-wrs-vxworks-spe ` ] ( platform-support/vxworks.md ) | ✓ | |
345345[ ` powerpc-wrs-vxworks ` ] ( platform-support/vxworks.md ) | ✓ | |
346- ` powerpc64-unknown-freebsd ` | ✓ | ✓ | PPC64 FreeBSD (ELFv1 and ELFv2)
346+ ` powerpc64-unknown-freebsd ` | ✓ | ✓ | PPC64 FreeBSD (ELFv2)
347347` powerpc64le-unknown-freebsd ` | ✓ | ✓ | PPC64LE FreeBSD
348348` powerpc-unknown-freebsd ` | ? | | PowerPC FreeBSD
349349` powerpc64-unknown-linux-musl ` | ? | | 64-bit PowerPC Linux with musl 1.2.3
You can’t perform that action at this time.
0 commit comments