Skip to content

Build container doesn't install rustfmt #409

@hulto

Description

@hulto

Describe the bug
The automatic code formatting that the dev container does requires rustfmt
This results in an error every time a rust file is saved.

[Error - 12:36:26 AM] Request textDocument/formatting failed.
  Message: rustfmt exited with:
                           Status: exit status: 1
                           stdout: 
                           stderr: error: 'rustfmt' is not installed for the toolchain 'nightly-2023-09-04-x86_64-unknown-linux-gnu'
To install, run `rustup component add rustfmt --toolchain nightly-2023-09-04-x86_64-unknown-linux-gnu`

To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context
Add the rustfmt component as a part of the dev container build.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions