Merge remote-tracking branch 'upstream/master' into stable

This commit is contained in:
Martin Nowak 2022-09-18 12:15:30 +02:00
commit a39be62cbd
2 changed files with 2 additions and 2 deletions

View file

@ -1331,7 +1331,7 @@ void fuzz(ref Entity root)
{
import std.math : log2;
auto newRoot = root;
auto numReductions = uniform(1, cast(int)log2(allAddresses.length), rng);
auto numReductions = uniform(1, cast(int)log2(cast(double)allAddresses.length), rng);
Reduction[] reductions;
foreach (n; 0 .. numReductions)
{

2
rdmd.d
View file

@ -840,7 +840,7 @@ import std.stdio, std.algorithm, std.array, std.ascii, std.base64,
std.random, std.range, std.regex, std.signals, std.socket,
std.stdint, std.stdio,
std.string, std.windows.syserror, std.system, std.traits, std.typecons,
std.typetuple, std.uni, std.uri, std.utf, std.variant, std.xml, std.zip,
std.typetuple, std.uni, std.uri, std.utf, std.variant, std.zip,
std.zlib;
";