chore(Dockerfile): fix rust-toolchain.toml and rewrite Dockerfile

This commit is contained in:
jklincn 2024-01-20 15:24:32 +08:00
parent 74b250adcb
commit 4709a3f2a6
3 changed files with 47 additions and 68 deletions

View file

@ -2,4 +2,4 @@
profile = "minimal"
# use the nightly version of the last stable toolchain, see <https://forge.rust-lang.org/>
channel = "nightly-2023-10-09"
components = ["rust-src", "llvm-tools-preview", "rustfmt", "clippy"]
components = ["rust-src", "llvm-tools", "rustfmt", "clippy"]