Skip to content
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

Make loom dependency optional #666

Merged
merged 1 commit into from Feb 23, 2021
Merged

Make loom dependency optional #666

merged 1 commit into from Feb 23, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Feb 23, 2021

The loom dependency will never compile unless users enable cfg, but the way cargo and crates.io handle cfg-ed dependencies is not very good and confuses users.

This issue seems to work around by the way proposed by @matklad in #487 (comment).
So this PR uses that workaround.

Closes #665

r? @jeehoonkang @jonhoo

@taiki-e
Copy link
Member Author

taiki-e commented Feb 23, 2021

bors d=jonhoo

@bors
Copy link
Contributor

bors bot commented Feb 23, 2021

✌️ jonhoo can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@jonhoo
Copy link
Contributor

jonhoo commented Feb 23, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 23, 2021

Build succeeded:

@bors bors bot merged commit f8c9922 into master Feb 23, 2021
@bors bors bot deleted the loom branch February 23, 2021 18:56
@taiki-e
Copy link
Member Author

taiki-e commented Feb 25, 2021

@matklad @djc: Do you need me to do a new release?

@matklad
Copy link
Contributor

matklad commented Feb 25, 2021

I would appreciate one!

bors bot added a commit that referenced this pull request Feb 25, 2021
667: Prepare for the next release r=taiki-e a=taiki-e

Changes:

- crossbeam-epoch 0.9.2 -> 0.9.3
  - Make `loom` dependency optional. (#666)
- crossbeam-utils 0.8.2 -> 0.8.3
  - Make `loom` dependency optional. (#666)

Co-authored-by: Taiki Endo <te316e89@gmail.com>
@taiki-e
Copy link
Member Author

taiki-e commented Feb 25, 2021

Published in crossbeam-utils 0.8.3 & crossbeam-epoch 0.9.3.

@djc
Copy link

djc commented Feb 25, 2021

@taiki-e thanks for getting this resolved so quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Hide loom from dependency graph
4 participants