@@ -9,6 +9,7 @@ module core.gc.config;
99
1010import core.internal.parseoptions ;
1111import core.stdc.stdio : printf;
12+ import core.system : Sys;
1213import core.system.opt : Opt;
1314
1415alias Config = Opt.GcConfig;
@@ -57,21 +58,21 @@ struct ConfigT()
5758 {
5859 import core.gc.registry : registeredGCFactories;
5960
60- printf(" GC options are specified as white space separated assignments:
61+ Sys. printf(" GC options are specified as white space separated assignments:
6162 disable:0|1 - start disabled (%d)
6263 fork:0|1 - set fork behaviour (%d)
6364 profile:0|1|2 - enable profiling with summary when terminating program (%d)
64- gc:" .ptr , disable, fork, profile);
65+ gc:" , disable, fork, profile);
6566 foreach (i, entry; registeredGCFactories)
6667 {
67- if (i) printf (" |" );
68+ if (i) Sys.print (" |" );
6869 printf(" %.*s" , cast (int ) entry.name.length, entry.name.ptr);
6970 }
7071 auto _initReserve = initReserve.bytes2prettyStruct;
7172 auto _minPoolSize = minPoolSize.bytes2prettyStruct;
7273 auto _maxPoolSize = maxPoolSize.bytes2prettyStruct;
7374 auto _incPoolSize = incPoolSize.bytes2prettyStruct;
74- printf(" - select gc implementation (default = conservative)
75+ Sys. printf(" - select gc implementation (default = conservative)
7576
7677 initReserve:N - initial memory to reserve in MB (%lld%c)
7778 minPoolSize:N - initial and minimum pool size in MB (%lld%c)
@@ -82,7 +83,7 @@ struct ConfigT()
8283 cleanup:none|collect|finalize - how to treat live objects when terminating (collect)
8384
8485 Memory-related values can use B, K, M or G suffixes.
85- " .ptr ,
86+ " ,
8687 _initReserve.v, _initReserve.u,
8788 _minPoolSize.v, _minPoolSize.u,
8889 _maxPoolSize.v, _maxPoolSize.u,
0 commit comments