Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Reproduce incr. comp. linker bug on nightly and report it #23

Closed
jonas-schievink opened this issue Mar 25, 2019 · 2 comments
Closed

Reproduce incr. comp. linker bug on nightly and report it #23

jonas-schievink opened this issue Mar 25, 2019 · 2 comments

Comments

@jonas-schievink
Copy link
Owner

jonas-schievink commented Mar 25, 2019

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).

@jonas-schievink
Copy link
Owner Author

Reproduces on rustc 1.35.0-nightly (4c27fb19b 2019-03-25)

@jonas-schievink
Copy link
Owner Author

Opened rust-lang/rust#59535, closing this one

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant