Missing all CAN related constants on MacOS
Open
Nobody has claimed this yet.
C-API-request
- Dominant language
- Rust
- Stars
- 2.6k
- Forks
- 1.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 69
Description
Likely similar to https://github.com/rust-lang/libc/issues/3626 -- but I have no access to CAN constants when working on a Mac
Is this a weird request? I am not expecting to be able to run this code on a Mac but the compiler is yelling at me saying that AF_CAN and friends do not exist 😥
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names Rust libc bindings and the missing AF_CAN constants, but no repository file or test. Start by comparing the linked libc issue 3626 and tracing where platform constants are declared. Done means the relevant CAN constants are exposed for compilation on macOS without implying CAN runtime support there.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100