Use Darwin and FreeBSD overflow errno values for synthetic std errors
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- operating-systems
Línea de trabajo
Lee std/sys/errors.wave desde la línea 12 para encontrar las constantes SYS_ERR_OVERFLOW seleccionadas por objetivo para Darwin y FreeBSD. Actualiza solo los valores afectados para que ambos sinteticen -84, mientras que Linux, Windows y WASI permanecen sin cambios. Confirma los proveedores de selección de objetivo y la regresión comprobada de desbordamiento de sleep/duración; después, usa CI nativo para macOS y FreeBSD.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 56
- Forks
- 21
- Merge medio
- 7 h 19 min
- PR fusionados (30 d)
- 61
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wavefnd/Wave
-
Validate CI command vectors before indexing Cargo subcommandsPosiblemente ocupada @amandeavor la tomó hoy. Abiertobug ci good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
build good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
discussion enhancement help wanted
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de wavefnd/Wave
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
manuscript-lang/manuscript#1364 ·
Los mantenedores suelen responder en 1 día
-
`printf "%o"` prints decimalAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fable-compiler/Fable#5157 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
C-bug needs-triage O-UEFI T-libs
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
移动端宽屏适配Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día