Thread overview
[Issue 20723] std.random.unpredictableSeed: on x86/x86-64 try using RDRAND when there is no arc4random
[Issue 20723] std.random.unpredictableSeed: on x86/x86-64 try using RDSEED when there is no arc4random
Apr 07, 2020
Dlang Bot
Apr 07, 2020
Nathan S.
Apr 16, 2020
Dlang Bot
April 07, 2020
https://issues.dlang.org/show_bug.cgi?id=20723

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/phobos pull request #7436 "std.random.unpredictableSeed: on x86/x86-64 try using RDSEED when there is no arc4random" fixing this issue:

- Fix Issue 20723 - std.random.unpredictableSeed: on x86/x86-64 try using RDSEED when there is no arc4random

  This code works in both DMD and LDC because LDC version 1.20.0
  added support for data directives in DMD-style inline asm.

https://github.com/dlang/phobos/pull/7436

--
April 07, 2020
https://issues.dlang.org/show_bug.cgi?id=20723

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|std.random.unpredictableSee |std.random.unpredictableSee
                   |d: on x86/x86-64 try using  |d: on x86/x86-64 try using
                   |RDSEED when there is no     |RDRAND when there is no
                   |arc4random                  |arc4random

--
April 16, 2020
https://issues.dlang.org/show_bug.cgi?id=20723

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7436 "std.random.unpredictableSeed: on x86/x86-64 try using RDRAND when there is no arc4random" was merged into master:

- f6a3678adc8b82352e6770593989141db77d5b2a by Nathan Sashihara:
  Fix Issue 20723 - std.random.unpredictableSeed: on x86/x86-64 try using
RDRAND when there is no arc4random

  This code works in both DMD and LDC because LDC version 1.20.0
  added support for data directives in DMD-style inline asm.

https://github.com/dlang/phobos/pull/7436

--