You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There we go, there are the failing tests. Do you want me to move all of the rng.rs tests to /tests now? I think it should wait until after the #439 passes because I might have added a test to rng.rs and I don't want to have to move tests in 2 PRs when I could do it in 1. It doesn't have to be done in #439 but I don't want it to be before #439.
@nstilt1 yeah there's some pre-existing misconfiguration, it's missing the CI config in its triggers:
I'm not sure what you want me to do with that... I'm new to this CI/CD stuff.
#448 fixes the CI misconfiguration I noted earlier.
Thanks for reproducing the big endian failure. Now that we know it's broken if you can fix it in this same PR that'd be great, even if the fix is just changing it back to what it was before.
The reason will be displayed to describe this comment to others. Learn more.
I dug through rand_chacha and ppv-lite86 for a few minutes and couldn't find anywhere with endian conversions regarding the output. But multiple tests fail on big endian. If you look closely, you can see that the bytes within the words are in reverse order. I don't know why they are in reverse order, but the tests pass as soon as to_le() is called on all of the words.
The reason will be displayed to describe this comment to others. Learn more.
I might have found the problem. Line 48 of soft.rs converts each word to little endian. Big endian code will most likely be hitting the soft.rs backend. Even if this isn't the culprit, then this part of the code should be using conditional compilation. Will change the code and run a test right quick
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
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.
Big endian tests don't currently run tests in
src/rng.rs. If they did they would fail. Working on getting this yml thing working.