Re: [OE-core] [PATCH v2 1/5] rust: Fetch cargo from rust-snapshot dir.

Richard Purdie
2024-01-20T08:42:45Z

On Fri, 2024-01-19 at 07:09 -0800, Shinde, Yash via
lists.openembedded.org wrote:
> From: Yash Shinde <Yash.Shinde@windriver.com>
>
> Fixes: Exception: no cargo executable found at
> `${B}/rustc-1.74.1-src/build/x86_64-unknown-linux-gnu/stage0/bin/cargo`
>
> Fix the cargo binary path error on oe-selftest and path set to rust-snapshot dir.
>
> Patch sent to upstream- https://github.com/rust-lang/rust/pull/120125
>
> Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
> ---
> .../rust/files/cargo-path.patch | 37 +++++++++++++++++++
> 1 file changed, 37 insertions(+)
> create mode 100644 meta/recipes-devtools/rust/files/cargo-path.patch

The series failed on mips in testing:

https://autobuilder.yoctoproject.org/typhoon/#/builders/147/builds/1196/steps/12/logs/stdio

Sadly the error redirection is to a file and even in the failed build,
we do not have that file as far as I can see so it is hard to know what
went wrong.

I'm not sure how much we care about mips+rust so if we did want to skip
the tests there, I'd not be against that.

Cheers,

Richard