Propagate Rust target features through crate2nix builds
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- build-system
Línea de trabajo
Start with the per-crate build configuration in nix/crates.nix and trace how the generated crate graph passes targetFeatures into buildRustCrate. Compare that with the build.rs environment and manifest behavior described in the issue. Check the change by building .#moq-bench on x86-64 Linux and confirming the log selects Rind's x86_64 backend.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
On x86-64 Linux, nix build .#moq-bench selects Rind's portable backend. The build log at revision 62c0ec81faf9228b837769c6d2eb1a098a416fd4 contains cargo::rustc-cfg=rind_backend="portable". The same version of Rind under Cargo selects x86_64. Portable Rind reports no hardware AES, so the Rustls provider offers ChaCha20-Poly1305 first.
The generated crate graph defaults targetFeatures to an empty list, and buildRustCrate leaves CARGO_CFG_TARGET_FEATURE unset. Rind reads that variable in build.rs, while its manifest uses the same target features to select its portable-only dependencies. Feed the target's baseline features into both paths and check that a Nix-built x86-64 package selects the accelerated backend. Rust 1.98.1 reports fxsr,sse,sse2 for x86_64-unknown-linux-gnu. Per-crate build
(Written by GPT-6.2 Sol with high effort)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 832
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Bump the quest flake input past kixel-ai/quest#1202 (Codex reviews use the config's gateway)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
foundry-rs/starknet-foundry#4733 ·
Los mantenedores suelen responder en 4 días
-
autofix:working
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
libracoder/kiri#1138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
roc-lang/basic-webserver#277 ·
Los mantenedores suelen responder en 1 día