itm icon indicating copy to clipboard operation
itm copied to clipboard

Cargo.lock not up to date in 0.3.1 release commit

Open oceanlewis opened this issue 3 years ago • 1 comments

I think that the Cargo.lock file that's published with the 0.3.1 release commit is out of date as I'm running into problems packaging this tool at that version for nixpkgs:

  • https://github.com/NixOS/nixpkgs/pull/143750#discussion_r741488693

I've resorted to applying a patch to the repo when the source is fetched from GitHub for compilation, but it would be cleaner to be able to build from a release with an up-to-date Cargo.lock file.

For context, I'm just trying to package this tool so that I (and others) can go through the Discovery book on NixOS without having to do anything more than installing the package via the system package manager. Nix has certain assumptions around how packages should build, one of them being that build processes shouldn't update lock files during a build, which is why I'm running into this issue originally (I'm fairly certain).

Thanks for making this tool and the Discovery book available :)

oceanlewis avatar Nov 02 '21 22:11 oceanlewis

related issues https://github.com/rust-embedded/svd2rust/issues/399 https://github.com/rust-embedded/cargo-binutils/pull/103

Emilgardis avatar Nov 03 '21 21:11 Emilgardis