From: Mikko Rapeli <mikko.rapeli@linaro.org>
To: ecordonnier@snap.com
Cc: ross.burton@arm.com, openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml
Date: Mon, 6 Jul 2026 12:01:48 +0300 [thread overview]
Message-ID: <aktu_EN4zkSjImFj@nuoska> (raw)
In-Reply-To: <CAHUKmYa5UeP58KtKS8KgM3aF0ejnKMiUHTRaGSP7CeHb-P7mdg@mail.gmail.com>
Hi,
The file is not ignored. It gets used and overrides linker set by cargo.bbclass/rust.
uutils-coreutils builds are currently broken on arm64 build hosts and this
patch fixed them.
Cheers,
-Mikko
On Mon, Jul 06, 2026 at 10:50:19AM +0200, Etienne Cordonnier via lists.openembedded.org wrote:
> Hi Ross,
>
> what is the use-case of the patch? config.toml file is ignored in
> out-of-tree builds ( https://github.com/rust-lang/cargo/issues/2930 ), so
> AFAIU removing it shouldn't make any difference for a bitbake build. Is it
> for devtool builds?
>
> Étienne
>
>
> On Mon, Jul 6, 2026 at 10:34 AM Ross Burton via lists.openembedded.org
> <ross.burton=arm.com@lists.openembedded.org> wrote:
>
> > This file hardcodes a specific compiler for aarch64-linux builds, which
> > is not the compiler that we provide. As it's otherwise useless, we can
> > just delete the file.
> >
> > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > ---
> > .../recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/meta-oe/recipes-core/uutils-coreutils/
> > uutils-coreutils_0.9.0.bb b/meta-oe/recipes-core/uutils-coreutils/
> > uutils-coreutils_0.9.0.bb
> > index d294736395..2c7d3a3200 100644
> > --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > @@ -65,6 +65,10 @@ python __anonymous() {
> >
> > BBCLASSEXTEND = "native nativesdk"
> >
> > +do_configure:prepend() {
> > + rm -f ${S}/.cargo/config.toml
> > +}
> > +
> > do_compile:prepend() {
> > export LIBSTDBUF_DIR="${libdir}/coreutils"
> > }
> > --
> > 2.43.0
> >
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128031): https://lists.openembedded.org/g/openembedded-devel/message/128031
> Mute This Topic: https://lists.openembedded.org/mt/120136596/7159507
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [mikko.rapeli@linaro.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
next prev parent reply other threads:[~2026-07-06 9:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 8:34 [PATCH 1/2] librav1e: make nasm dependency x86-specific Ross Burton
2026-07-06 8:34 ` [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml Ross Burton
2026-07-06 8:50 ` [oe] " Etienne Cordonnier
2026-07-06 9:01 ` Mikko Rapeli [this message]
2026-07-06 9:07 ` Etienne Cordonnier
2026-07-06 13:31 ` [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific Khem Raj
2026-07-06 13:51 ` Ross Burton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aktu_EN4zkSjImFj@nuoska \
--to=mikko.rapeli@linaro.org \
--cc=ecordonnier@snap.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=ross.burton@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.