[API] cannot compile (crosspost)

Can anybody confirm this?


Check out the Dev Forum

1 Like

I had this too. I deleted my cargo.lock file, then tried again and it worked, iirc.

I also had an issue with a windows target for a dependency, which used the wrong path separator. I just changed that in situ and the build worked for windows too. It was a 3rd party library and I didn’t have chance to follow on with it.

Deleting Cargo.lock worked. Thank you! It’s sometimes a problem, when things get too stable. You forget how to deal with instability :smiley:

2 Likes

I am not sure why we have the cargo.lock in git actually. Not the for the main repo. I will see about that one.

It’s very handy for me. Whenever I need to work with a local version of Autonomi (main, or at a specific hash), I check the repo out and have a script that generates the cargo deps for my Cargo.toml.

1 Like