dtolnay / linkme

Safe cross-platform linker shenanigans
Apache License 2.0
646 stars 41 forks source link

fix target_os = "none" test #34

Closed kaspar030 closed 3 years ago

kaspar030 commented 4 years ago

tests/coretex currently fails with overlapping section linker errors.

This can be fixed by:

  1. insert the linkme section AFTER .rodata, not BEFORE
  2. bump cortex-m-rt. current master includes support for 1.

Unfortunately the necessary fix to cortex-m-rt has not been released (to crates.io), so I'm creating this PR as a draft.

Fixes #23.