Closed jonas-schievink closed 5 years ago
See: https://github.com/jonas-schievink/rubble/compare/incr-linker-error
Build the first commit (04cf1d1), then the second (cedf7be), and you should get a linker error like this:
= note: rust-lld: error: undefined symbol: _$LT$rubble..ble..time..Duration$u20$as$u20$core..fmt..Display$GT$::fmt::h343296729f83afc4 >>> referenced by time.rs:129 (src/ble/time.rs:129) >>> /home/jonas/dev/rubble/target/thumbv7em-none-eabi/debug/deps/rubble-a38354bf4561073f.3qtzuenakrd0qcaf.rcgu.o:(_$LT$$RF$T$u20$as$u20$core..fmt..Debug$GT$::fmt::h26ac05bd6f4f461e)
This is on rustc 1.33.0 (2aa4c46cf 2019-02-28).
rustc 1.33.0 (2aa4c46cf 2019-02-28)
Reproduces on rustc 1.35.0-nightly (4c27fb19b 2019-03-25)
rustc 1.35.0-nightly (4c27fb19b 2019-03-25)
Opened https://github.com/rust-lang/rust/issues/59535, closing this one
See: https://github.com/jonas-schievink/rubble/compare/incr-linker-error
Build the first commit (04cf1d1), then the second (cedf7be), and you should get a linker error like this:
This is on
rustc 1.33.0 (2aa4c46cf 2019-02-28)
.