Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Use Darwin and FreeBSD overflow errno values for synthetic std errors

オープン 初心者向け
#1,005 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

std/sys/errors.wave を12行目から読み、Darwin と FreeBSD の 대상選択された SYS_ERR_OVERFLOW 定数を確認します。該当する値だけを更新し、両方が -84 を合成するようにしてください。Linux、Windows、WASI は変更しません。対象選択のプロバイダーと、sleep/duration のオーバーフローの回帰テストがチェックされていることを確認した後、macOS と FreeBSD のネイティブ CI を使用してください。

索引モデルが issue の本文から書いたものです。

説明

bug good first issue

Problem

SYS_ERR_OVERFLOW is -75 on both macOS and FreeBSD, while their errno headers define EOVERFLOW as 84. Checked time/sleep helpers therefore synthesize an error in the Linux domain on those targets. Windows normalization is intentional and separate.

Starting point: std/sys/errors.wave:12.

Validation

Audited canonical Wave 540728c2eb6cc12f5c69c3fb3fdb96e07ba059a4 (0.0.1-alpha-dev), whose tree matches the local checkout. Validation: Source-to-official-header comparison; no native Darwin/FreeBSD run. Executed compiler probes use the matching checkout-built compiler and std on Linux amd64 (Rust 1.89.0 / LLVM 21.1.8). Source/header or mocked checks are not native execution on another OS.

Header references: XNU errno.h, FreeBSD 14.4 errno.h.

Scope

Correct only the affected target-selected constants and their observable synthetic results. Preserve Linux, Windows and WASI conventions.

Related: #945. These links do not claim those broader or completed scopes are unfinished.

Completion criteria

  • macOS and FreeBSD synthetic overflow returns -84.
  • Target-selection tests cover both affected providers and unchanged other targets.
  • Checked sleep/duration overflow regression and native CI confirm the result.

This is a bounded, unassigned task with the starting point and focused checks above. Keep unrelated refactoring out of the change.

主要言語
Rust
スター
56
フォーク
21
平均マージ
7時間 19分
マージ済み PR(30日)
61

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

wavefnd/Wave のほかの issue

wavefnd/Wave の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。