Then dev-dependencies (examples) are built only for thumbv7em-none-eabihf.
This fixed #104 for me.
Now I can run cargo test --tests and everything builds and runs.
Without this I got:
Compiling stm32l4 v0.12.1
Compiling stm32l4xx-hal v0.5.0 (https://github.com/MathiasKoch/stm32l4xx-hal?branch=enhancement/prepare-embedded-hal-1.0#28490318)
LLVM ERROR: Global variable '__INTERRUPTS' has an invalid section specifier '.vector_table.interrupts': mach-o section specifier requires a segment and section separated by a comma.
error: could not compile `stm32l4`
warning: build failed, waiting for other jobs to finish...
error: build failed
Which makes sense, because those libs cannot be built for x86.
Seems like the CI is not happy about the changes? I guess the easy solution is to change the CI to use thumbv7em-none-eabihf instead of thumbv7m-none-eabi?
Then dev-dependencies (examples) are built only for thumbv7em-none-eabihf. This fixed #104 for me.
Now I can run
cargo test --tests
and everything builds and runs. Without this I got:Which makes sense, because those libs cannot be built for x86.