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
> <[email protected]> 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 <[email protected]>
> > ---
> >  .../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 (#128034): 
https://lists.openembedded.org/g/openembedded-devel/message/128034
Mute This Topic: https://lists.openembedded.org/mt/120136596/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to