Closed azzamsa closed 11 months ago
The host toolchain is independent of the compile target. You see the same for the windows hosts, that the host toolchain is always the same for all the different targets. Your problem is not with the host toolchain, but that the correct target is not installed.
The log shows that you are not passing a target to the action. It should include a line like target: x86_64-unknown-linux-musl
there.
Run actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
cache: true
rustflags: -D warnings
Are you sure your matrix statement is correct ${{ matrix.job.target }}
?
Are you sure your matrix statement is correct ${{ matrix.job.target }}?
Oh, my bad. I thought matrix.job.target
and matrix.target
will have the same result.
Hi.
I use the code below for my CI.
Other target works well, but musl.
Unlike others, It still uses
host: x86_64-unknown-linux-gnu
and doesn't respect thetarget
input.Any suggestions?
Thanks for
actions-rust-lang/setup-rust-toolchain
🏅