Skip to content

Add rustc --run #9826

Closed
Closed
@SiegeLord

Description

@SiegeLord

With the removal of the rust tool, there is nothing good to place in the initial hashbang comment in a Rust file (you used to be put rust run in there). rustc --run should be added to fill that gap.

The use case, of course, is some kind support for script-like usage for Rust which will become attractive when the compilation speed improves.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions