Skip to content

qemu_riscv32/qemu_virt_riscv32/smp sample.rust/bench.plain fail #86310

Closed
@fabiobaltieri

Description

@fabiobaltieri

Describe the bug
Hi, bumped into a couple issue with bench.plain tests in CI on main: https://github.com/zephyrproject-rtos/zephyr/runs/37777088940

Then I tried to reproduce it locally but I hit one more issues and can't even build it at all

95    |                 zephyr_sys::k_str_out(self.buf.as_mut_ptr() as *mut i8, self.count);
      |                 --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*mut u8`, found `*mut i8`

confirmed by other users after updating the compiler.

@d3zd3z could you look into these?

To Reproduce
west build -p -b qemu_cortex_m3 ../modules/lang/rust/samples/bench

Expected behavior
build and run

Impact
CI is sad. Rust users are also sad I guess.

Environment (please complete the following information):
Linux, Zephyr SDK, a718b84

$ rustup --version
rustup 1.26.0 (2024-08-30)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.85.0 (4d91de4e4 2025-02-17)`

Metadata

Metadata

Assignees

Labels

area: RustIssues affecting Rust support in ZephyrbugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions