-
Notifications
You must be signed in to change notification settings - Fork 506
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
Update rand to 0.7, rand_xorshift to 0.2 #707
Conversation
You'll need to update Current versions of We could also wait for Rust 1.31 to be a year old (December 6th) per our policy on the minimum supported compiler, then the package renaming won't be an issue anymore. |
Is there a defined procedure for updating the lock file, or is it just manual editing until it works with the desired crate versions on the target version of the compiler? |
Yeah, we should probably write some instructions for this. It's a somewhat manual process, but not editing the file directly. Copy |
Ok, then I was on the correct path already. Building works, but I had attempted to run |
I'm inclined to just wait for the anniversary of 1.31 on December 6th, so we can bump our requirement and not worry about the dependencies that use package renaming. (The one-year compatibility policy is sort of arbitrary, but I feel it's useful to be predictable.) |
There are some method calls which require a mutable reference to the RNG instance. I chose to create the instance and then immediately create a reference to it which is then used within this scope.
I rebased this for conflicts with #712. Thanks again! bors r+ |
707: Update rand to 0.7, rand_xorshift to 0.2 r=cuviper a=silwol There are some method calls which require a mutable reference to the RNG instance. I chose to create the instance and then immediately create a reference to it which is then used within this scope. If you know a better solution, feel free to adjust accordingly. Co-authored-by: Wolfgang Silbermayr <wolfgang@silbermayr.at>
There are some method calls which require a mutable reference to the
RNG instance. I chose to create the instance and then immediately create
a reference to it which is then used within this scope. If you know a better
solution, feel free to adjust accordingly.