GithubHelp home page GithubHelp logo

Comments (5)

Dr-Emann avatar Dr-Emann commented on June 3, 2024 2

For an executable like this, it is recommended to keep the lock file in version control

from minesweeper-rs.

kennykerr avatar kennykerr commented on June 3, 2024 1

It's still a good idea not to add Cargo.lock to the repo via .gitignore.

from minesweeper-rs.

zingus avatar zingus commented on June 3, 2024

Actually nevermind. Compilation halted anyway on winmd_macro, then I updated the whole of rust and succeeded in compiling it.

After the rustup update having the versioned Cargo.lock laying around seems not to cause anymore any issues whatsoever.

from minesweeper-rs.

robmikh avatar robmikh commented on June 3, 2024

I second @Dr-Emann, the Cargo FAQ states that applications which are at the end of the dependency chain should keep their Cargo.lock to provide successful deterministic builds. Libraries should not, to avoid things like version conflicts:

https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries

@zingus, it's likely you hit this issue: #11. But it sounds like you got it sorted out! 🙂

from minesweeper-rs.

kennykerr avatar kennykerr commented on June 3, 2024

Good to know - thanks!

from minesweeper-rs.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.