rust-lang / rust-lang/rust-analyzer

rust-analyzer can not debug bevy programs

Open
#10,760 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

S-unactionable
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

Versions

Bevy: 0.5.0
rust-analyzer: 2021-11-08

Operating system & version

ArchLinux, updated

What you did

What you expected to happen

  • The program should run and be debug

What actually happened

Errors out with:

error while loading shared libraries: libbevy_dylib-c81a0be9ecb3efc6.so: cannot open shared object file: No such file or directory

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by following the linked Bevy setup, then reproduce the debug launch in VS Code with rust-analyzer or CLion using the reported Bevy and rust-analyzer versions. Investigate why libbevy_dylib-c81a0be9ecb3efc6.so cannot be found; done means the Bevy program launches and can be debugged without this shared-library error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.