Skip to content
New issue

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

Can not run outside of cargo project #1031

Open
foresterre opened this issue Oct 19, 2024 · 0 comments
Open

Can not run outside of cargo project #1031

foresterre opened this issue Oct 19, 2024 · 0 comments
Labels

Comments

@foresterre
Copy link
Owner

The Cargo manifest is resolved to construct the default EnvironmentContext, thus making it impossible to run (with exit code 0) outside a Cargo project. The Cargo project should not be a hard requirement, except for commands which forward directly to Cargo or flags which are meant directly for interaction with Cargo.

See the tests/fixtures/rustc fixture, which should be runnable with cargo msrv find -- rustc hello.rs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant