Skip to content

LLVM assertion failure when compiling winapi with the latest nightlyΒ #35991

Closed
@CensoredUsername

Description

@CensoredUsername

When compiling a project that depends on winapi on the latest nightly, the compilation halts due to an llvm assertion failure while winapi is being built.

Error message:

Assertion failed: !isa<DIType>(Scope) && "shouldn't make a namespace scope for a type", file C:\bot\slave\nightly-dist-rustc-win-msvc-64\build\src\llvm\lib\CodeGen\AsmPrinter\CodeViewDebug.cpp, line 202

Toolchain/platform info

rustc --version
rustc 1.13.0-nightly (e9bc1bac8 2016-08-24)

toolchain: nightly-x86_64-pc-windows-msvc

winapi version: v0.2.8
winapi-build version: v0.1.1

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions