Closed therealprof closed 5 years ago
With this change automatically setting the target "just works" (tm) for both desktop and no_std
cross compilation, e.g. cargo asm --rust --example i2c_scanner stm32f0xx_hal::adc::Adc::convert
Next stop: figuring out how to render the #[entry]
function.
Next stop: figuring out how to render the #[entry] function.
Thank you for working on this. There is also a couple of issues over #[no_mangle]
in case you are interested in tackling those as well.
A release might be nice at some point so I can point other people at this great crate. 😉
I tend to only do releases when CI is green. Because of how this crate is currently tested, that also involves quite a bit of work, particularly when the Rust versions used in CI are updated.
I'll try to take a look next weekend.
I tend to only do releases when CI is green.
Makes sense.
Because of how this crate is currently tested, that also involves quite a bit of work, particularly when the Rust versions used in CI are updated.
I noticed. 😞
I'll try to take a look next weekend.
No pressure. 😅
Instead of relying on cfg attributes and making crude assumptions to detect the target system (iff it is the host system), the new approach is a bit more elaborate and allows for more ways to discover the real target:
Signed-off-by: Daniel Egger daniel@eggers-club.de