fleet icon indicating copy to clipboard operation
fleet copied to clipboard

The cargo manifest has been overwritten

Open dyxushuai opened this issue 3 years ago • 3 comments
trafficstars

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

dyxushuai avatar Apr 24 '22 04:04 dyxushuai

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

Jianshu

jianshu93 avatar Apr 24 '22 04:04 jianshu93

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!

VarunPotti avatar Apr 24 '22 05:04 VarunPotti

see this: https://github.com/dimensionhq/fleet/issues/20

thanks

Jianshu

jianshu93 avatar Apr 24 '22 06:04 jianshu93