hackndev/zinc

Default build target for certain examples

WizardUli opened this issue · 2 comments

The MCU specific examples have default features set in their Cargo.toml like
default = ["mcu_stm32f4"]
I propose also directly adding symlink to JSON target description and .cargo/config with build target like
[build] target = "thumbv7em-none-eabi"

Such example could be then build just by running cargo build --release.
The generic examples like empty would retain status quo (i.e. no default build target as well as no default features set),

I can make a pull request if somebody is interested in this idea.

Makes perfect sense, I'd appreciate a PR.

This appears to have happened in d097403, which landed in #376, so I'm going to close this. Thanks!