Skip to content

build failure (linking) when upgrading from windows 0.59 to 0.60 #3561

Closed
@rursprung

Description

@rursprung

Summary

i originally reported this here: twistedfall/opencv-rust#660
however, i think this is related to the switch from windows-targets to windows-link.

see the linked issue for all the details (incl. full cargo build -vv output) . but in short:
the test repository has a Cargo.lock with windows 0.59 in it and builds fine.
when i run cargo update (which primarily updates opencv-rust which in turn pulls in the windows update to 0.61) it fails with linking errors.

i now cloned opencv-rust and used [patch.crates-io] with a path override for it to link that into the test project. then i modified only the windows dependency there: if i set it to 0.59 everything compiles fine. if i set it to 0.60 it starts failing.

Crate manifest

see link to test repo above

Crate code

see link to test repo above

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions