Skip to content

build/bootstrap/debug/rustc -vV throws error with env  #96945

Closed as not planned
Closed as not planned
@vinay110974

Description

@vinay110974

Hi,

We are implementing Oe-Selftest for rust in Yocto Framework.
The test runs complete rust testsuite for all folders.
However, we are facing an issue while printing the verbose details in many testcases.
It is hindering the test process and unable to run many folders.

$oe-selftest/build-st/tmp/work/core2-64-poky-linux/
rust-testsuite/1.60.0-r0/rustc-1.60.0-src/build/bootstrap/debug/rustc -vV

thread 'main' panicked at 'RUSTC_SYSROOT was not set', src/bootstrap/bin/rustc.rs:50:48
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Same issue is observed with rust native build also.
It was noted that the issue has been addressed earlier as:- #39888

Can you please let us know whether the issue still persists in rust or we missing anything
while building rust that addresses the issue?

Regards,
Vinay

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions