Open anatawa12 opened 8 months ago
I would accept a PR to implement this. (Something like build_target: false
)
See https://github.com/taiki-e/upload-rust-binary-action/commit/850f2b7a10a00c9a7f3516a5042bb72fcc971bd3 for an example of adding a new option to the action.
I want to
cargo build --target <target>
to cross-build andcargo run
natively but because this action will setCARGO_BUILD_TARGET
it's not easy tocargo run
. (AFAIK there's no easy way to get default target) Could you provide option to disable settingCARGO_BUILD_TARGET
?