mirror of
https://github.com/astral-sh/uv.git
synced 2026-05-06 08:56:53 -04:00
9345450b4c
Inspired by #18252 This required an upstream change https://github.com/rust-secure-code/cargo-auditable/pull/245 which is now released. This increases binary sizes slightly, ~4KB. The cargo wrapper implementation will be extended in #18280 to code sign binaries.
16 lines
346 B
Batchfile
16 lines
346 B
Batchfile
@echo off
|
|
REM Wrapper script that invokes `cargo auditable` instead of plain `cargo`.
|
|
REM
|
|
REM Use `scripts/install-cargo-extensions.sh` to install the dependencies.
|
|
REM
|
|
REM Usage:
|
|
REM
|
|
REM set CARGO=%CD%\scripts\cargo.cmd
|
|
REM cargo build --release
|
|
|
|
if defined REAL_CARGO (
|
|
"%REAL_CARGO%" auditable %*
|
|
) else (
|
|
cargo.exe auditable %*
|
|
)
|