We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc already can ignore the shebang. And cargo-script RFC was accepted (rust-lang/cargo#12207).
rustc
cargo-script
This is a valid rust:
#!/usr/bin/env -S cargo +nightly -Zscript fn main() { println!("Hello from cargo script") }
But it isn't parsed
The text was updated successfully, but these errors were encountered:
It is also documented in https://doc.rust-lang.org/reference/crates-and-source-files.html#shebang
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
rustc
already can ignore the shebang. Andcargo-script
RFC was accepted (rust-lang/cargo#12207).This is a valid rust:
But it isn't parsed
The text was updated successfully, but these errors were encountered: