rust-lang / rust-lang/stdarch

RISC-V core::arch?

Open
#913 12 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
694
Forks
336
Avg merge
5d 14h
Merged PRs (30d)
9

Description

core::arch is missing RISC-V support, I'm specifically interested in adding support for the equivalent of rdtsc.

This was spun off https://github.com/rust-lang/stdarch/issues/40
It was mentioned there "We generally try to stick to vendor-specified intrinsics" which is an understandable but insurmountably heavy requirement.

Contributor guide

Open the contributing guide

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 with the core::arch request and the spun-off stdarch issue #40; the payload names no specific file or test. The work needs maintainers to define the RISC-V intrinsic scope and acceptance criteria, with completion tied to agreed support for the equivalent of rdtsc.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.