mrcjkb / rustaceanvim

🦀 Supercharge your Rust experience in Neovim! A heavily modified fork of rust-tools.nvim
GNU General Public License v2.0
1.57k stars 57 forks source link

Dynamic linking breaks again #73

Closed richchurcher closed 9 months ago

richchurcher commented 9 months ago

Something might have shifted between when we merged the dynamic PR and when it hit release... I seem to have a regression that's not there on my local copy. Debugging Bevy exits right away with nothing in :messages. Lookin' into it :sunglasses:

richchurcher commented 9 months ago

Oh, I see. I think you've accidentally converted environment to be a map: lldb at least expects it to be a table of unkeyed strings e.g.

-- broken
{
    LD_LIBRARY_PATH = "/home/basie/.local/share/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/basie/w/hexfoo/target/debug/deps",
}

-- working
{
   "LD_LIBRARY_PATH=/home/basie/.local/share/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/basie/w/hexfoo/target/debug/deps",
}

Easy fix, inc.