Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rand: Fix a bug acquiring a context on windows
The details can be found in the comment I wrote on the block in question, but the gist of it is that our usage of the TIB for a stack limit was causing CryptAcquireContext to fail, so we temporarily get around it by setting the stack limit to 0.
- Loading branch information
1 parent
d2e99a0
commit e7c4fb6
Showing
1 changed file
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@e7c4fb6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/libnative = e7c4fb6 into auto
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/libnative = e7c4fb6 merged ok, testing candidate = 3ccc1fe6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3993
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4806
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4802
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3899
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3907
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4905
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3993
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4000
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4907
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/3998
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1797
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@e7c4fb6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/libnative = e7c4fb6 into auto
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/libnative = e7c4fb6 merged ok, testing candidate = 0e01867e
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4006
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4808
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4804
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3901
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3909
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4907
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3995
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4002
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4909
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3995
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4000
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1799
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4906
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4014
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4668
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@e7c4fb6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/libnative = e7c4fb6 into auto
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/libnative = e7c4fb6 merged ok, testing candidate = 11daccf6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some tests failed:
failure: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4909
exception: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4810
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4806
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3903
exception: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3911
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3997
exception: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4004
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4911
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3997
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4002
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4070
exception: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1801
exception: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4908
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4008
exception: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4016
exception: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4670
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at alexcrichton@e7c4fb6
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging alexcrichton/rust/libnative = e7c4fb6 into auto
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alexcrichton/rust/libnative = e7c4fb6 merged ok, testing candidate = bbf8cdc
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/4811
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/4807
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/3904
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/3912
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/4910
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/3998
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/4005
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/4912
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/3998
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/4003
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/4071
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1802
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/4909
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/4009
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/4017
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/4671
e7c4fb6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = bbf8cdc