Skip to content

Commit 5fd86e5

Browse files
authored
Remove Phobos dependency from druntime's ldc/libfuzzer.d (#4281)
Resolves issue #4248
1 parent 99eba36 commit 5fd86e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

runtime/druntime/src/ldc/libfuzzer.di

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88

99
module ldc.libfuzzer;
1010

11-
import std.typecons : Flag, Yes;
12-
1311
/**
1412
* Defines the necessary code to initialize the D runtime and calls the
1513
* FuzzTarget function.
@@ -31,7 +29,7 @@ import std.typecons : Flag, Yes;
3129
* ---
3230
*/
3331

34-
mixin template DefineTestOneInput(alias FuzzTarget, Flag!"initializeDRuntime" initializeDRuntime = Yes.initializeDRuntime)
32+
mixin template DefineTestOneInput(alias FuzzTarget, bool initializeDRuntime = true)
3533
if (is(typeof(&FuzzTarget) == int function(in ubyte[])))
3634
{
3735
static if (initializeDRuntime)

0 commit comments

Comments
 (0)