Update Cargo.toml#449
Open
zeddash wants to merge 1 commit into
Open
Conversation
Making it clear the second part is to be used in conjunction with the first. I didn't know the syntax and thought it was A or B, not A or (A and B).
Collaborator
This is correct. The patch only removes the rustflags check and nothing else. Basically it's "feature and rustflags" or "feature and patch". |
Author
|
Wouldn't that then mean you just need the second and not both? It only started to work when I enabled both and But I was reading it that I could just use the patch |
Collaborator
|
Yes, in either case you have to add |
Author
|
I think just adding my tiny change of specifying the second part is additional is enough, just clearly states it’s, well, additional
…________________________________
From: Ben Frankel ***@***.***>
Sent: Saturday, August 2, 2025 2:36:32 AM
To: TheBevyFlock/bevy_new_2d ***@***.***>
Cc: z- ***@***.***>; Author ***@***.***>
Subject: Re: [TheBevyFlock/bevy_new_2d] Update Cargo.toml (PR #449)
[https://avatars.githubusercontent.com/u/12173779?s=20&v=4]benfrankel left a comment (TheBevyFlock/bevy_new_2d#449)<#449 (comment)>
Yes, in either case you have to add getrandom as an explicit dependency in order to specify the wasm_js feature on it. "Alternatively" only relates to the rustflags section. Maybe it would help to put a newline between the two sections.
—
Reply to this email directly, view it on GitHub<#449 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALGMQGNZFAHIP4WQVZ7BD733LQI2BAVCNFSM6AAAAACC4OLITWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBWGEYDAOJXGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Making it clear the second part is to be used in conjunction with the first. I didn't know the syntax and thought it was A or B, not A or (A and B).
I got really confused and just an extra word "additional" would have cleared things up and I'd have known I need both.
I read the "Alternatively" as "that one has a rustflag check, this one doesn't"