mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-28 08:16:29 +00:00
11f0fd7fd9
Instead of running `rustup` on a multi-gigabyte general-purpose Linux base, use the premade devcontainers/rust:1 which closely tracks the rust toolchain releases. Rip out excess setup steps since devcontainers come with the repo checked out; just compile/update the binary.
11 lines
210 B
JSON
11 lines
210 B
JSON
{
|
|
"image": "mcr.microsoft.com/devcontainers/rust:1",
|
|
"updateContentCommand": "cargo build",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"rust-lang.rust-analyzer"
|
|
]
|
|
}
|
|
}
|
|
}
|