1
1
mirror of https://github.com/casey/just.git synced 2024-09-11 05:55:31 +03:00

Only pass +crt-static to cargo build (#997)

This commit is contained in:
Casey Rodarmor 2021-10-13 19:54:58 -07:00 committed by GitHub
parent 9ed2c5faa1
commit a306a47898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -42,7 +42,7 @@ jobs:
runs-on: ${{matrix.os}}
env:
RUSTFLAGS: --deny warnings --codegen target-feature=+crt-static
RUSTFLAGS: --deny warnings
steps:
- uses: actions/checkout@v2

View File

@ -14,7 +14,8 @@ echo "Packaging $bin $version for $target..."
test -f Cargo.lock || cargo generate-lockfile
echo "Building $bin..."
cargo build --bin $bin --target $target --release
RUSTFLAGS='--deny warnings --codegen target-feature=+crt-static' \
cargo build --bin $bin --target $target --release
executable=target/$target/release/$bin
if [[ $os == windows-2016 ]]; then