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

fix: reset the changes introduced in getrandom import as dep #286

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

duguorong009
Copy link

Description

Related issues

Changes

  • set the getrandom crate as dev-dependency for wasm32-* target build CI
  • remove the resolver = "2" option from workspace cargo.toml

Copy link
Member

@CPerezz CPerezz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Cargo.toml Outdated
Comment on lines 8 to 9
]
resolver = "2" No newline at end of file
]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was the resolver 2 an issue for the getrandom usage as dev-dep?? I'd have expected the oposite 😮

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was.
Without this option, the default resolver is "1".
It resolves the issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's really weird.. resolver = 2 is the "powerful" one. The one that allows same dep with different features for dep/dev-dep. So it's confusing that the resolver=1 solves the issue :/

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@CPerezz
Copy link
Member

CPerezz commented Feb 23, 2024

Seems that bumpalo still requires >= rustc 1.73. So we can revert d090dc2 and just have a new MSRV.

@duguorong009
Copy link
Author

Seems that bumpalo still requires >= rustc 1.73. So we can revert d090dc2 and just have a new MSRV.

Done it.
Once the CI passes, will merge the PR. 🙂

@duguorong009 duguorong009 merged commit e892c86 into main Feb 23, 2024
28 checks passed
@duguorong009 duguorong009 deleted the gr@fix-getrandom-import branch February 23, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix the changes introduced in getrandom import as dep
2 participants