Compiler panicked at 'is_signed on non-scalar ABI' during const evaluation on windows-sys crate #138971
Labels
A-const-eval
Area: Constant evaluation, covers all const contexts (static, const fn, ...)
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
The Internal Compiler Error (ICE) was triggered during compilation of the crate
windows-sys
version0.59.0
, as a dependency ofevcxr_jupyter
. Minimal reproduction command:Currently, this is the smallest reliable reproduction step found.
Meta
Output of
rustc --version --verbose
:Error output
Backtrace
This issue was found while attempting to compile the
evcxr_jupyter
crate on Windows (x86_64-pc-windows-msvc
) environment. It seems specifically related to compiling thewindows-sys
crate, version0.59.0
, using Rust1.85.1
. The error consistently reproduces with optimization flags enabled (-C opt-level=3
) and causes the compiler to panic due to an internal error in const evaluation.A minimized version was not yet produced given the complexity, but the reproduction above is reliable and clear.
Please let me know if any additional information or testing is required.
The text was updated successfully, but these errors were encountered: