Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

major glam updates break template

Aperta
#13 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
build-system

Direzione di ricerca

Start by inspecting the template dependency declarations and the glam and spirv-std version constraints described in the issue, using PR #12 for context. Reproduce the problem with a fresh lockfile or cargo update, then verify that the generated template compiles without the conflicting glam versions or missing feature configuration.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Noticed a bad precedent while working on https://github.com/Rust-GPU/rust-gpu-template/pull/12:

Whenever glam releases a new major version and you cargo update or generate a new lockfile or generate this template, cargo will choose the most up-to-date glam version for spirv-std. It's declaring >0.30.8, allowing you to use newer glam versions that may have breaking changes, so e.g. 0.32.0 does satisfy this constraint. But the templates specify 0.30.8, which causes cargo to add two glam versions: 0.32.0 for spirv-std and 0.30.10 for the template. Now glam requires that you either enable std or libm (or nostd-libm) as a feature, so the 0.30.10 version will fail to compile, since the template expects spirv-std to do the feature configuration.

Lingua principale
Rust
Stelle
7
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.