You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran cargo test and got a message about '-stdlib=libc++', so, following Troubleshooting.md
- Link c++ to `clang` instead of g++
```c++: error: unrecognized command-line option '-stdlib=libc++'```Try: Open terminal and execute command to link c++ to `clang````shellsudo update-alternatives --config c++```
I did
~/FireDBG.for.Rust 2 $ sudo update-alternatives --config c++
There are 2 choices for the alternative c++ (providing /usr/bin/c++).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/g++ 20 auto mode
* 1 /usr/bin/clang++ 10 manual mode
2 /usr/bin/g++ 20 manual mode
Press <enter> to keep the current choice[*], or type selection number:
~/FireDBG.for.Rust 0 $ cargo test
and cargo test now fails with
= note: /usr/bin/ld: cannot find -llldb: No such file or directory
collect2: error: ld returned 1 exit status
error: could not compile `firedbg-stream-indexer` (bin "firedbg-indexer" test) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: linking with `cc` failed: exit status: 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
I ran
cargo testand got a message about'-stdlib=libc++', so, followingTroubleshooting.mdI did
and
cargo testnow fails withAll reactions