microsoft / microsoft/demikernel
[simulator] Handle error codes on different platforms
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
Context
The simulator currently takes error codes only as numeric values, so this breaks when we run the simulator across platforms (e.g., Windows and Linux) with different numeric values for different error codes.
Proposed Solution
We should use string values for errors and then parse and translate them for the appropriate platform.
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 does not name a file, test, or entry point. Start by locating the simulator's error-code handling and the platform-specific translation boundary, then trace how numeric codes are passed across platforms. Done means simulator errors use platform-independent string values and are translated correctly on Windows and Linux.
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
- 42/100