-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skeptic + cross + *-pc-windows-gnu = Bad EXE format #88
Comments
I think understood what's going on. Skeptic tries to run cargo via wine. But cargo is a binary for host platform, Linux x86_64. |
So. I think this is a fundamental flaw in skeptic design - skeptic attempts to compile test body during tests run. But, you cannot expect that cargo, rustc or other compiling stuff is available when tests are run. This is what happens:
But there is no |
1. It is [broken by design](budziq/rust-skeptic#88 (comment)) and incompatible with cross 2. README.md doesn't test anything useful anyway
1. It is broken by design (budziq/rust-skeptic#88 (comment)) and incompatible with cross 2. README.md doesn't test anything useful anyway
1. It is broken by design (budziq/rust-skeptic#88 (comment)) and incompatible with cross 2. README.md doesn't test anything useful anyway
1. It is broken by design (budziq/rust-skeptic#88 (comment)) and incompatible with cross 2. README.md doesn't test anything useful anyway
1. It is broken by design (budziq/rust-skeptic#88 (comment)) and incompatible with cross 2. README.md doesn't test anything useful anyway
Problematic build is here: https://travis-ci.org/slonopotamus/local-encoding-rs/jobs/427679330#L673
It is run via
cargo install cross && cross test --target i686-pc-windows-gnu
. Note that everything works natively on both Linux and Windows.I am actually not sure whether this is skeptic or cross problem (or mine).
Commit f5b4e2e gives the impression that skeptic is supposed to work with cross.
The text was updated successfully, but these errors were encountered: