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

The cargo manifest has been overwritten #23

Open
dyxushuai opened this issue Apr 24, 2022 · 3 comments
Open

The cargo manifest has been overwritten #23

dyxushuai opened this issue Apr 24, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@dyxushuai
Copy link
Contributor

I review the code and found that the origin cargo manifest in {$PWD}/.cargo/config has been overwritten by fleet.

@dyxushuai dyxushuai added the bug Something isn't working label Apr 24, 2022
@jianshu93
Copy link

Yes!So you need to delete it when going back to cargo,which is confusing!

Jianshu

@VarunPotti
Copy link
Contributor

Hey @jianshu93 you don't exactly need to delete it if you want to use cargo, fleet configures the paths in the .cargo/config.toml, so it would work fine even if you go back (As cargo can process it), but when you clone repos you need to manually update the paths.

Also fleet applies the optimizations and runs cargo run/build after applying them, so we would have to overwrite the cargo config files in the current working directory!

@jianshu93
Copy link

see this: #20

thanks

Jianshu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants