You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this because I wanted to have a build script build.rs. This leads to:
error: failed to parse manifest at `/home/lukas/.cargo/script-cache/file-build-5b0f8f572ede70cb/Cargo.toml`
Caused by:
the binary target name `build` is forbidden
internal error: cargo failed with status 101
I am not sure why these names are forbidden, but it would be nice if they'd work with cargo-script. For example, one could check if the name of the script is on the blacklist and then just add -cargo-script or something. When executing a script, one usually doesn't care about the actual package and artifact name.
Activity