Unable to `cargo test` on windows when no cairo installed
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
With #97 adding default members to `piet`'s workspace `Cargo.toml`, I was unable to run `cargo test` on windows because cargo attempted to build `piet-cairo` and I did not have the required cairo libraries installed.
Removing `default-members` in the `Cargo.toml` fixed the issue for me for now.
Not sure what the permanent fix is yet, though.
Related to #33
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the workspace Cargo.toml and reproduce cargo test on Windows without Cairo installed. Inspect the default-members change from #97 and how it includes piet-cairo; compare the workaround of removing default-members with the related context in #33. Done means cargo test works on that setup without requiring uninstalled Cairo libraries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100