RustCrypto / RustCrypto/utils

cpufeatures: add support for FreeBSD/aarch64

Open
#837 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
674
Forks
170
Avg merge
1d 12h
Merged PRs (30d)
10

Description

std::detect uses userspace mrs on FreeBSD/aarch64 as well as having auxval code that's currently used on arm32 and powerpc64 that would work too.
One of these ways should be used here as well… (this is a TODO for myself I guess)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the cpufeatures implementation with the referenced std_detect files: detect/os/aarch64.rs and detect/os/freebsd/auxvec.rs. Determine which approach applies to FreeBSD/aarch64, then verify that CPU feature detection works on that target without regressing the existing arm32 and powerpc64 paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.