Skip to content

windows上最新main分支cargo run --release失败 #155

@structure-charger

Description

@structure-charger

cargo 1.84.0 (66221abde 2024-11-19) msvc visual studio 2022
rustc
warning: ring@0.17.8: ToolExecError: Command "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "include" "-I" "C:\Users\admin\pproject\ai00_server\target\release\build\ring-f6cb4d659b8f3d5b\out" "-W4" "/Gy" "/Zc:wchar_t" "/Zc:forScope" "/Zc:inline" "/Wall" "/wd4127" "/wd4464" "/wd4514" "/wd4710" "/wd4711" "/wd4820" "/wd5045" "-DNDEBUG" "-FoC:\Users\admin\pproject\ai00_server\target\release\build\ring-f6cb4d659b8f3d5b\out\0f1e39740815ef8c-mem.o" "-c" "crypto/mem.c" with args cl.exe did not execute successfully (status code exit code: 2).
error: failed to run custom build command for ring v0.17.8

Caused by:
process didn't exit successfully: C:\Users\admin\pproject\ai00_server\target\release\build\ring-4481988865b04382\build-script-build (exit code: 1)
--- stderr

error occurred in cc-rs: Command "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX64\x64\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "include" "-I" "C:\Users\admin\pproject\ai00_server\target\release\build\ring-f6cb4d659b8f3d5b\out" "-W4" "/Gy" "/Zc:wchar_t" "/Zc:forScope" "/Zc:inline" "/Wall" "/wd4127" "/wd4464" "/wd4514" "/wd4710" "/wd4711" "/wd4820" "/wd5045" "-DNDEBUG" "-FoC:\Users\admin\pproject\ai00_server\target\release\build\ring-f6cb4d659b8f3d5b\out\0f1e39740815ef8c-mem.o" "-c" "crypto/mem.c" with args cl.exe did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...

看上去ring包build失败

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions