Skip to content

rustup default doesn't show proper warning when architecture is not compatible #3972

Closed
@bombless

Description

@bombless

Fresh install rustup on my Windows Subsystem for Linux, choose stable-x86_64-apple-darwin toolchain
after installation, run rustc it reports ~/.rustup/toolchains/stable-x86_64-apple-darwin/bin/rustc: 1: Syntax error: "(" unexpected

Or if you choose stable-x86_64-pc-windows-gnu, run rustc after installation,
it reports error: the 'rustc' binary, normally provided by the 'rustc' component, is not applicable to the 'stable-x86_64-pc-windows-gnu' toolchain

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions