Skip to content

Environment variable to disable rust-toolchain.toml #2793

Open
@jonas-schievink

Description

@jonas-schievink

Describe the problem you are trying to solve

In order to support VS Code's "workspace trust" feature in rust-analyzer (rust-lang/rust-analyzer#9224), we'd like to disable rust-toolchain.toml support, since that allows arbitrary code execution.

Describe the solution you'd like

The easiest solution would be some environment variable that simply disables this toolchain file, but I'm open to alternatives.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions