Checklist
Describe your issue
I have a Cross.toml with a default target to avoid having to pass the target argument manually:
[build]
default-target = "powerpc-unknown-linux-gnu"
While running cross test -vv -- --show-output I get:
(...cut...)
+ rustup target list --toolchain nightly-x86_64-unknown-linux-gnu
+ rustup component list --toolchain nightly-x86_64-unknown-linux-gnu
+ /usr/bin/podman
+ /usr/bin/podman run --userns host (...cut...) cargo test -vv -- --show-output --target powerpc-unknown-linux-gnu'
(...cut...)
Running `(...cut...) --show-output --target powerpc-unknown-linux-gnu`
error: Unrecognized option: 'target'
error: test failed, to rerun pass `--lib
so the real problem is cross adding "--target powerpc-unknown-linux-gnu" to cargo test after the "--" argument.
cross should place the target argument before "--" for any cargo command that supports "--", like cargo test.
What target(s) are you cross-compiling for?
powerpc-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
No response
Additional information / notes
No response
Checklist
Describe your issue
I have a Cross.toml with a default target to avoid having to pass the target argument manually:
While running
cross test -vv -- --show-outputI get:so the real problem is cross adding "--target powerpc-unknown-linux-gnu" to cargo test after the "--" argument.
cross should place the target argument before "--" for any cargo command that supports "--", like cargo test.
What target(s) are you cross-compiling for?
powerpc-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
No response
Additional information / notes
No response