Skip to content

There may be a bug in the msvc detection part of rustc #86835

Closed
@FirTech

Description

@FirTech

I created a new project using cargo, and then created a build.rs file with only an empty main function.
Then I execute \VC\Auxiliary\Build\vcvarsall.bat x86 and then execute cargo build --release --target=i686-pc-windows-msvc and it will report an error: "The library computer type "x86" conflicts with the target computer type "x64" "
I think there may be a bug in the msvc detection part of Rustc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions