#error linking with `lld` failed

2 messages · Page 1 of 1 (latest)

neon abyss
#

Hi I'm following this doc https://bevyengine.org/learn/book/getting-started/setup/ on Windows. Just trying to compile a basic bevy program that just does App::new().run() but I'm getting this enormous lld error:

cargo run --features bevy/dynamic
error: linking with `lld` failed: exit code: 1
...
= note: lld: error: undefined symbol: _$LT$alloc..raw_vec..RawVec$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h015c531dc7618209
  >>> referenced by /rustc/c1a859b25a95999ba276075bbd8e284ea675b41a\library\core\src\ptr\mod.rs:490
... a bunch of other undefined symbol errors follow ...
lld: error: too many errors emitted, stopping now (use /errorlimit:0 to see all errors