Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

👻 add empty workspace members array #1

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

cratelyn
Copy link
Contributor

@cratelyn cratelyn commented Jul 7, 2021

This odd little commit is a workaround for a Cargo workspaces bug,
described in rust-lang/cargo#6745; this workaround is described in a
comment there1.

When using this repository as a submodule, it becomes impossible to
validate the definitions with the command below, if it contains a Cargo
workspace:

cargo run --manifest-path=validate-witx/Cargo.toml ./compute-at-edge.witx

Moreover, we cannot always add the repo to the exclude array, for
reasons explained in the attached Cargo issue.

So, we'll introduce this empty workspace array, to avoid that issue for
now.

This odd little commit is a workaround for a Cargo workspaces bug,
described in rust-lang/cargo#6745; this workaround is described in a
comment there[1].

When using this repository as a submodule, it becomes impossible to
validate the definitions with the command below, if it contains a Cargo
workspace:

```
cargo run --manifest-path=validate-witx/Cargo.toml ./compute-at-edge.witx
```

Moreover, we cannot always add the repo to the `exclude` array, for
reasons explained in the attached Cargo issue.

So, we'll introduce this empty workspace array, to avoid that issue for
now.

[1]: rust-lang/cargo#6745 (comment)
@cratelyn cratelyn self-assigned this Jul 7, 2021
@cratelyn cratelyn merged commit 9adc96e into main Jul 7, 2021
@cratelyn cratelyn deleted the katie/workspace-exclude-bug-workaround branch July 7, 2021 20:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants