-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctlyThe issue is with build tool or build script, which requires update or should be executed correctlyno-staleIssue will not be marked as staleIssue will not be marked as stale
Description
Is your feature request related to a problem? Please describe.
Some Rust libraries can be built with cargo
tool into a C
library with dll+lib files. For example, resvg
. It would be great to enable vcpkg
to build such libraries.
For example: to compile resvg
C binding:
- Download and run
rustup-init.exe
from https://www.rust-lang.org/tools/install - Compile
resvg
:
git clone https://github.com/RazrFalcon/resvg.git
cd resvg\c-api
%USERPROFILE%\.cargo\bin\cargo build --release
This creates resvg.dll
and resvg.dll.lib
.
Proposed solution
Add cargo
as build tool.
Describe alternatives you've considered
-
Additional context
-
Sharpe49, reupen, tronical, ihnorton, Pospelove and 7 moregracicotBe-ing, JoergAtGithub, dcarolloz and mhmd-azeez
Metadata
Metadata
Assignees
Labels
category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctlyThe issue is with build tool or build script, which requires update or should be executed correctlyno-staleIssue will not be marked as staleIssue will not be marked as stale