Skip to content

Rustdoc build ICE for the SIMD code in the glam crate. #144720

@mintlu8

Description

@mintlu8

Meta

rustc 1.90.0-nightly

Error output

Rustdoc build: https://docs.rs/crate/bevy_rich_text3d/0.4.1/builds/2366087

[INFO] [stderr] error: internal compiler error: compiler/rustc_mir_transform/src/validate.rs:80:25: broken MIR in Item(DefId(0:23022 ~ glam[f7e2]::euler::{impl#44}::to_euler_angles)) (after phase change to runtime-optimized) at bb0[5]:
[INFO] [stderr]                                 Projecting into SIMD type std::arch::x86_64::__m128 is banned by MCP#838
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/glam-0.29.3/src/euler.rs:410:34
[INFO] [stderr]     |
[INFO] [stderr] 410 |                 $mat3::from_mat4(self).to_euler_angles(order)
[INFO] [stderr]     |                                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 435 | impl_mat4_to_euler!(f32, Mat4, Mat3);
[INFO] [stderr]     | ------------------------------------ in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = 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)

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