Skip to content

szs crate fails to build #86

@LastExceed

Description

@LastExceed

minimal repro:

cargo new my_project
cd my_project
cargo add szs
cargo build

output:

...
C:\Users\LastExceed\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\szs-0.3.7\src\MK8.hpp(92): error C3861: 'assert': identifier not found
...

editing that file in the cargo registry (only for demo of course) and commenting out the assertion allows the crate to build.
stable-x86_64-pc-windows-msvc - rustc 1.92.0 (ded5c06cf 2025-12-08)

workaround:

cargo add szs --git https://github.com/snailspeed3/RiiStudio/ --rev f6acd1ac468a8a06c4f5fc0ca4d0c9b6c36fdb0f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions