Debugging with rust-gdb: No such file or directory, even though I checked that the file and directory exist

Hi. I am new to rust and debugging it with gdb. I am using it inside of my docker. After I type

rust-gdb target/riscv64gc-unknown-none-elf/release/os

It gives me the following warnings:

Warning: /usr/bin/rustc is /usr/bin/rustc
/usr/lib/rustlib/etc: No such file or directory.

I really don't know what this means or why it is happening. I have checked that both files sit where the warning specifies. I couldn't find any information about it online.

A possibly similar question exists on StackOverflow.Try this: Debugging Rust with gdb - Stack Overflow

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.