Skip to content

Question: relationship with cargo-script on nightly ~~> stable ? #139

@dream-dasher

Description

@dream-dasher

A question:
Stabilization of cargo-script is one of main 2024 goals for the Rust Project

And we can currently run scripts using just cargo on nightly with

cargo +nightly -Zscript <file.rs> <args/flags>

How similar are rust-script with what's being stabilized?

I'd like to do more of my shell and scripting work in Rust and I'm not sure what design decisions might be impacting when a standard cargo-script is eventually rolled out.
(things like locations mapped to different elements of scripts, any helper type in the environment, etc.)

Any sense of how these two interface (or don't) would be wonderful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions