Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unify workspaces #2391

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Unify workspaces #2391

merged 1 commit into from
Oct 31, 2023

Conversation

marc0246
Copy link
Contributor

@marc0246 marc0246 commented Oct 31, 2023

This reverts the examples having their own workspace introduced in #2381, because it turned out to be more trouble than it's worth. It broke the run_all.sh script because the new target directory was generated in examples, also broke the manifest in the examples directory after the target directory is generated there.

The alternative would have been to create a .cargo/config.toml in the root of the repo with a target-dir = "target" so that both target directories are in the root, but again more trouble than it's worth and it would break the developer's global configs of the target-dir.

@Rua
Copy link
Contributor

Rua commented Oct 31, 2023

With the workspace dependencies applying to every crate, this means that all the dependencies are going to be built regardless of which crate you're actually building?

@marc0246
Copy link
Contributor Author

What do you mean by "apply to every crate"?

@Rua
Copy link
Contributor

Rua commented Oct 31, 2023

Because they are workspace dependencies, they apply to every crate in the workspace?

@marc0246
Copy link
Contributor Author

Workspaces don't exist. Only packages inside the workspace. Workspaces themselves don't have dependencies. That's why I'm not sure I understand correctly.

@Rua Rua merged commit af57608 into vulkano-rs:master Oct 31, 2023
@marc0246 marc0246 deleted the unify-workspaces branch October 31, 2023 18:15
marc0246 added a commit to marc0246/vulkano that referenced this pull request Nov 1, 2023
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants