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 want to compile my code on a cluster. Clusters are messy sometimes, and as such in the /home directory of our system someone or something made a mess, creating all sorts of directories, one of which is called Cargo.toml.
FYI in the future, you might run into problems with #10736
One workaround is to put [workspace] in your project which will tell cargo it shouldn't walk up the directory hierarchy to find if a Cargo.toml with a [workspace] exists.
Problem
I want to compile my code on a cluster. Clusters are messy sometimes, and as such in the
/home
directory of our system someone or something made a mess, creating all sorts of directories, one of which is calledCargo.toml
.When building
Cargo.toml
the compiler fails:Steps
These work on any system :)
cd ~/..
sudo mkdir Cargo.toml
orsudo touch Cargo.toml
sudo chmod 300 Cargo.toml
Possible Solution(s)
Probably plenty
Notes
No response
Version
The text was updated successfully, but these errors were encountered: