Thanks Richard, but I'd prefer to drop this patch if possible. I think the rust-hello-world is no more useful and that we can replace it by a more "real" example like zvariant from meta-selftest.
Let's see what others think about this On Tue, 1 Aug 2023 at 10:46, Richard Purdie < [email protected]> wrote: > On Mon, 2023-07-31 at 11:44 +0200, Frederic Martinsons wrote: > > From: Frederic Martinsons <[email protected]> > > > > And use that for rust-hello-world recipe that did not ship > > a Cargo.lock file. > > > > Signed-off-by: Frederic Martinsons <[email protected]> > > --- > > meta/classes-recipe/cargo.bbclass | 4 +++- > > meta/classes-recipe/cargo_common.bbclass | 3 +++ > > meta/recipes-extended/rust-example/rust-hello-world_git.bb | 2 ++ > > 3 files changed, 8 insertions(+), 1 deletion(-) > > Could you send a patch to the manual please adding the new variable > CARGO_NO_FROZEN? > > I'm torn on this one as we could have simpler code which did: > > CARGO_FREEZE_OPTION = "--frozen" > > and then have the hello-world recipe: > > CARGO_FREEZE_OPTION = "--offline" > > but I'm torn on whether that is better or not... > > Cheers, > > Richard >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#185216): https://lists.openembedded.org/g/openembedded-core/message/185216 Mute This Topic: https://lists.openembedded.org/mt/100458217/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
