cargo-bitbake icon indicating copy to clipboard operation
cargo-bitbake copied to clipboard

Update cargo and git2 to latest version

Open kkettinger opened this issue 2 years ago • 6 comments

Updating cargo and git2 to the latest version fixes issue #69.

kkettinger avatar Jun 16 '23 15:06 kkettinger

I'm currently blocked on this exact problem. Would be nice if we could get this merged.

hardliner66 avatar Jul 07 '23 08:07 hardliner66

You need to update Cargo.lock as well, otherwise cargo install --locked won't work.

While you're at it, bumping up to cargo 0.73 and itertools 0.11 might be a good idea.

jaskij avatar Aug 28 '23 22:08 jaskij

Sorry for the late response. I could update the dependency of cargo to 0.74.0, newer versions break the build (same with git2 0.18.2). I've also updated itertools to 0.11. Please check and approve.

kkettinger avatar Feb 27 '24 16:02 kkettinger

One thought: should we confine ourselves to the meta-rust MSRV? -Since the latest Cargo version corresponds to +/- the latest MSRV, certain features might not function properly when using the bitbake-generated recipe.

EDITED: This PR follows the changes outlined in https://github.com/meta-rust/cargo-bitbake/pull/61/files. @kkettinger, according to the dependencies requirements, we should update the MSRV in this PR too.

IniterWorker avatar Apr 24 '24 14:04 IniterWorker

Isn't the current meta-rust at 1.75 though? I have started work on updating to latest possible dependencies, and it does seem to work, although the MSRV is 1.75.

Wasn't able to test extensively yet, but the changes were minimal. At least it compiles and generates recipes, but I wasn't able to check if the generated recipes work. I'll have a PR up shortly.

I'm not familiar with what other's working environments are, but for me the version of Rust installed on the development machine is decoupled from the version in our image, so having cargo-bitbake require 1.75 is a non-issue.

jaskij avatar Apr 24 '24 22:04 jaskij

Created #75

jaskij avatar Apr 24 '24 22:04 jaskij