Skip to content

major glam updates break template #13

Description

@Firestar99

Noticed a bad precedent while working on #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions