Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

major glam updates break template

Đang mở
#13 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust
Lĩnh vực
build-system

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
7
Fork
1
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.