You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful for those who develop for one specific target to be able to define the default build target. In much the same way cargo does. This would reduce the following example command:
624: Allow setting default build target r=Emilgardis a=zappolowski
This implements #368
This feature allows to specify the default target to build either in `Cross.toml`
```toml
[build]
target = "aarch64-unknown-linux-gnu"
```
or by setting `CROSS_BUILD_TARGET` to avoid the need to always specify `--target`.
I've opted for `build.target` as this resembles the configuration of [cargo](https://doc.rust-lang.org/cargo/reference/config.html#buildtarget).
Co-authored-by: Bjoern Hiller <bjoern.hiller@gmail.com>
Co-authored-by: Emil Gardström <emil.gardstrom@gmail.com>
It would be useful for those who develop for one specific target to be able to define the default build target. In much the same way cargo does. This would reduce the following example command:
cross build --target armv7-unknown-linux-gnueabihf
To the equivalent
Cross.toml
and commandcross build
The text was updated successfully, but these errors were encountered: