@@ -48,13 +48,11 @@ jobs:
4848 - uses : actions/checkout@v4
4949 - name : Install Rust
5050 run : rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }}
51- - run : sudo apt install -y librust-openssl-sys-dev
52- if : matrix.os == 'ubuntu-latest'
5351 - run : cargo build --release --target ${{ matrix.rust-target }}
5452 if : ${{ ! matrix.cross }}
5553 - run : cargo install cross
5654 if : ${{ matrix.cross }}
57- - run : cross build --release --target ${{ matrix.rust-target }}
55+ - run : cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
5856 if : ${{ matrix.cross }}
5957 - run : mv ./target/${{ matrix.rust-target }}/release/wac.exe ./target/${{ matrix.rust-target }}/release/wac-${{ matrix.rust-target }}
6058 if : matrix.os == 'windows-latest'
@@ -89,13 +87,11 @@ jobs:
8987 - uses : actions/checkout@v4
9088 - name : Install Rust
9189 run : rustup update stable --no-self-update && rustup default stable && rustup target add ${{ matrix.rust-target }}
92- - run : sudo apt install -y librust-openssl-sys-dev
93- if : matrix.os == 'ubuntu-latest'
9490 - run : cargo build --release --target ${{ matrix.rust-target }}
9591 if : ${{ ! matrix.cross }}
9692 - run : cargo install cross
9793 if : ${{ matrix.cross }}
98- - run : cross build --release --target ${{ matrix.rust-target }}
94+ - run : cross build --release --target ${{ matrix.rust-target }} --features native-tls-vendored
9995 if : ${{ matrix.cross }}
10096 - run : mv ./target/${{ matrix.rust-target }}/release/wac.exe ./target/${{ matrix.rust-target }}/release/wac-${{ matrix.rust-target }}
10197 if : matrix.os == 'windows-latest'
0 commit comments