Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Conversation

@khyperia
Copy link
Contributor

when running on #149:

  error: Cannot cast between pointer types
     --> /home/khyperia/.cargo/git/checkouts/glam-rs-c6c9bb5297445777/0c13d3a/src/f32/vec3a.rs:867:20
      |
  867 |         unsafe { &*(self as *const Vec3A as *const [f32; 3]) }
      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: from: *{Function} struct f32::vec3a::Vec3A { 0: struct f32::vec3::Vec3 { 0: f32, 1: f32, 2: f32 } }
      = note: to: *{Function} [f32; 3]

@khyperia khyperia requested a review from repi October 27, 2020 08:27
@bjorn3 bjorn3 mentioned this pull request Oct 27, 2020
5 tasks
Copy link
Contributor

@repi repi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nice!

@mergify mergify bot merged commit d148daf into main Oct 27, 2020
@mergify mergify bot deleted the better-bitcast-error branch October 27, 2020 10:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants