Do not require the linker script on std - #91
Conversation
The script serves no purpose on std but still had to be passed to the linker, excluding linkers without linker script support. probe-rs does not read these binaries, and the setup default now comes from linkme. Old embedded-test releases must not resolve to the new macros, hence 0.9.0.
|
While its true we dont need the linkerfile for the testcase list, Afaik the linker file was also needed to make sure main is not optimized away. (Main comes from a lib instead of from a binary as normally... ) Is this no longer a problem? |
|
On std Checked on x86_64-unknown-linux-gnu with this branch: rustc passes -Wl,--gc-sections and no -T, The script itself never referenced This also fixes macOS. |
The script serves no purpose on std but still had to be passed to the linker, excluding linkers without linker script support. probe-rs does not read these binaries, and the setup default now comes from linkme.
Old embedded-test releases must not resolve to the new macros, hence 0.9.0.