fix: support allocator override
This commit is contained in:
@@ -24,9 +24,9 @@ fi
|
||||
|
||||
: > /work/alpine-results.tsv
|
||||
if [ -n "$features" ]; then
|
||||
cargo build --release --locked --features "$features"
|
||||
cargo build --no-default-features --release --locked --features "$features"
|
||||
else
|
||||
cargo build --release --locked
|
||||
cargo build --no-default-features --release --locked
|
||||
fi
|
||||
|
||||
output="$(/usr/bin/time -v /work/target/release/proxy-scraper-checker 2>&1 >/dev/null)"
|
||||
|
||||
@@ -30,7 +30,7 @@ if [[ -n "$features" ]]; then
|
||||
feature_args=(--features "$features")
|
||||
fi
|
||||
|
||||
cargo build --release --locked "${feature_args[@]}"
|
||||
cargo build --no-default-features --release --locked "${feature_args[@]}"
|
||||
|
||||
exe="target/release/proxy-scraper-checker"
|
||||
if [[ "$RUNNER_OS" == "Windows" ]]; then
|
||||
|
||||
@@ -7,7 +7,7 @@ if ($allocator -ne "system") { $features += $allocator }
|
||||
if ($tokioFeature) { $features += $tokioFeature }
|
||||
$featuresString = $features -join ","
|
||||
|
||||
$args = @("build", "--release", "--locked")
|
||||
$args = @("build", "--no-default-features", "--release", "--locked")
|
||||
if ($featuresString) { $args += "--features"; $args += $featuresString }
|
||||
|
||||
Start-Process -FilePath "cargo" -ArgumentList $args -NoNewWindow -Wait
|
||||
|
||||
Reference in New Issue
Block a user