Skip to content

Unknown Glam SIMD issue #144710

@jansenMurphy

Description

@jansenMurphy

I don't know what's causing this and the error logs are pointing to a crate that one of my other crates is using.

error: internal compiler error: compiler\rustc_mir_transform\src\validate.rs:80:25: broken MIR in Item(DefId(0:23022 ~ glam[81bc]::euler::{impl#44}::to_euler_angles)) (after phase change to runtime-optimized) at bb0[5]: Projecting into SIMD type std::arch::x86_64::__m128 is banned by MCP#838 --> C:\Users\janse\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\glam-0.29.3\src\euler.rs:410:34 | 410 | $mat3::from_mat4(self).to_euler_angles(order) | ^^^^ ... 435 | impl_mat4_to_euler!(f32, Mat4, Mat3); | ------------------------------------ in this macro invocation | = note: this error: internal compiler error originates in the macro impl_mat4_to_euler (in Nightly builds, run with -Z macro-backtrace for more info)

rustc 1.90.0-nightly (ba7e63b63 2025-07-29)
binary: rustc
commit-hash: ba7e63b63871a429533c189adbfb1d9a6337e000
commit-date: 2025-07-29
host: x86_64-pc-windows-msvc
release: 1.90.0-nightly
LLVM version: 20.1.8

Error output

rustc-ice-2025-07-31T00_42_31-7456.txt

Edit:
Does not break on stable toolchain

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions