File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 9696 - target : x86_64-unknown-linux-gnu
9797 os : ubuntu-latest
9898 tool : cargo
99+ - target : x86_64-unknown-linux-musl
100+ os : ubuntu-latest
101+ tool : cargo
99102 - target : x86_64-apple-darwin
100103 os : macos-latest
101104 tool : cargo
@@ -115,12 +118,14 @@ jobs:
115118 - name : Checkout
116119 uses : actions/checkout@v3
117120 - name : Install Rust
118- run : rustup target add ${{ matrix.target }}
121+ run : |
122+ rustup target add ${{ matrix.target }}
123+ rustup component add rust-src
119124 - name : Install cross
120125 if : matrix.tool == 'cross'
121126 run : cargo install cross
122127 - name : Build binary
123- run : ${{ matrix.tool }} rustc --release --locked --bin=ask -- target=${{ matrix.target }} -- -C target-feature=+crt-static
128+ run : ${{ matrix.tool }} build --release --locked --target=${{ matrix.target }} -Z build-std=std,panic_abort -Z build-std-features=panic_immediate_abort
124129 - name : Upload binary
125130 if : matrix.os != 'windows-latest'
126131 uses : svenstaro/upload-release-action@v2
You can’t perform that action at this time.
0 commit comments