Skip to content

freebsd.rs: fix build on powerpc64* and riscv64#159

Closed
pkubaj wants to merge 1 commit into
n0-computer:mainfrom
pkubaj:patch-1
Closed

freebsd.rs: fix build on powerpc64* and riscv64#159
pkubaj wants to merge 1 commit into
n0-computer:mainfrom
pkubaj:patch-1

Conversation

@pkubaj

@pkubaj pkubaj commented Jun 12, 2026

Copy link
Copy Markdown

Description

The values in that file apply also on powerpc64* and should work on riscv64 as well. Tested on powerpc64le.

Breaking Changes

None

Notes & open questions

None

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

The values in that file apply also on powerpc64* and should work on riscv64 as well. Tested on powerpc64le.
@n0bot n0bot Bot added this to iroh Jun 12, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Jun 12, 2026
// Hardcoded based on the generated values here: https://cs.opensource.google/go/x/net/+/master:route/zsys_freebsd_arm.go
#[cfg(target_arch = "aarch64")]
#[cfg(any(target_arch = "aarch64", target_arch = "powerpc64", target_arch = "riscv64"))]
pub use self::arm64::*;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The arm64 module name now seems inappropriate. Otherwise this seems pretty uncontroversial. But fmt check is failing.

rklaehn added a commit that referenced this pull request Jun 15, 2026
## Description

Add support for powerpc64 and riscv64. See
#159

## Breaking Changes

None

## Notes & open questions

Note: we rename the module from arm64 to lp64 so it is clear that this
now covers more than one arch.

Note: it seems at first glance that the amd64 module is identical, it
could be removed and also covered by the lp64 module. But we will do
this in a subsequent PR.
@pkubaj pkubaj closed this Jun 17, 2026
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh Jun 17, 2026
@pkubaj

pkubaj commented Jun 17, 2026

Copy link
Copy Markdown
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants