ci: install musl target via rust-toolchain.toml file (#1664)

Targets specified in the `rust-toolchain.toml` file are automatically installed by `rustup`. This avoid setup steps for other devs and also simplifies the CI setup.

To be able to compile native code to musl, we do need `musl-gcc` which comes with the `musl-tools` package on ubuntu.
This commit is contained in:
Thomas Eizinger
2023-06-19 23:51:54 +02:00
committed by GitHub
parent 533b12c99e
commit 0f594f44bc
2 changed files with 2 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
[toolchain]
channel = "1.70.0"
components = ["rustfmt", "clippy"]
targets = ["x86_64-unknown-linux-musl"]