@@ -37,21 +37,27 @@ to use a arguments with spaces in them.
37
37
=head2 Module loading
38
38
39
39
X<|Programs,RAKUDOLIB>X<|Programs,RAKULIB>X<|Programs,PERL6LIB>
40
- =item C<RAKUDOLIB>, C<RAKULIB> (I<Str>; B<src/core/Inc.pm>)
40
+ =item C<RAKUDOLIB>, C<RAKULIB>
41
+
42
+ Type: L<C<Str>|/type/Str>.
41
43
42
44
C<RAKUDOLIB> and C<RAKULIB> append a comma-delimited list of paths to the
43
45
search list for modules. C<RAKUDOLIB> is evaluated first. B<NOTE:> These env
44
46
vars were added in the Rakudo compiler in version 2020.05. The deprecated older
45
47
env var C<PERL6LIB> is still available.
46
48
47
49
X<|Programs,RAKUDO_MODULE_DEBUG>
48
- =item C<RAKUDO_MODULE_DEBUG> (I<Bool>; B<src/Perl6/ModuleLoader.nqp>)
50
+ =item C<RAKUDO_MODULE_DEBUG>
51
+
52
+ Type: L<C<Bool>|/type/Bool>.
49
53
50
54
If true, causes the module loader to print debugging information to standard
51
55
error.
52
56
53
57
X<|Programs,RAKUDO_PRECOMPILATION_PROGRESS>
54
- =item C<RAKUDO_PRECOMPILATION_PROGRESS> (I<Bool>; B<src/Perl6/ModuleLoader.nqp>)
58
+ =item C<RAKUDO_PRECOMPILATION_PROGRESS>
59
+
60
+ Type: L<C<Bool>|/type/Bool>.
55
61
56
62
Available as of the 2012.12 release of the Rakudo compiler.
57
63
@@ -81,44 +87,54 @@ such as IDEs.
81
87
# {"X::AdHoc":{"payload":"foo","message":"foo"}}
82
88
83
89
X<|Programs,RAKUDO_NO_DEPRECATIONS>
84
- =item C<RAKUDO_NO_DEPRECATIONS> (I<Bool>; B<src/core.c/Deprecations.rakumod>)
90
+ =item C<RAKUDO_NO_DEPRECATIONS>
91
+
92
+ Type: L<C<Bool>|/type/Bool>.
85
93
86
94
If true, suppresses deprecation warnings triggered by the C<is DEPRECATED>
87
95
trait.
88
96
89
97
X<|Programs,RAKUDO_DEPRECATIONS_FATAL>
90
- =item C<RAKUDO_DEPRECATIONS_FATAL> (I<Bool>; B<src/core.c/Deprecations.rakumod>)
98
+ =item C<RAKUDO_DEPRECATIONS_FATAL>
99
+
100
+ Type: L<C<Bool>|/type/Bool>.
91
101
92
102
If true, deprecation warnings become thrown exceptions.
93
103
94
104
X<|Programs,RAKUDO_VERBOSE_STACKFRAME>
95
- =item C<RAKUDO_VERBOSE_STACKFRAME> (I<UInt>; B<src/core.c/Backtrace.rakumod>)
105
+ =item C<RAKUDO_VERBOSE_STACKFRAME>
106
+
107
+ Type: L<C<Uint>|/type/Uint>.
96
108
97
109
Displays source code in stack frames surrounded by the specified number of
98
110
lines of context; for instance C<RAKUDO_VERBOSE_STACKFRAME = 1> will use one
99
111
context line.
100
112
101
113
X<|Programs,RAKUDO_BACKTRACE_SETTING>
102
- =item C<RAKUDO_BACKTRACE_SETTING> (I<Bool>; B<src/core.c/Backtrace.rakumod>)
114
+ =item C<RAKUDO_BACKTRACE_SETTING>
115
+
116
+ Type: L<C<Bool>|/type/Bool>.
103
117
104
118
Controls whether C<.setting> files are included in backtraces.
105
119
106
120
=head2 Affecting precompilation
107
121
108
122
X<|Programs,RAKUDO_PREFIX>
109
- =item C<RAKUDO_PREFIX> (I<Str>; B<src/core.c/CompUnit/RepositoryRegistry.rakumod>)
123
+ =item C<RAKUDO_PREFIX>
124
+
125
+ Type: L<C<Str>|/type/Str>.
110
126
111
127
When this is set, Rakudo will look for the standard repositories (perl, vendor,
112
128
site) in the specified directory. This is intended as an escape hatch for
113
129
build-time bootstrapping issues, where Rakudo may be built as an unprivileged
114
130
user without write access to the runtime paths in NQP's config.
115
131
116
132
X<|Programs,RAKUDO_PRECOMP_DIST>
117
- =item C<RAKUDO_PRECOMP_DIST> (B<src/core.c/CompUnit/PrecompilationRepository.rakumod>)
133
+ =item C<RAKUDO_PRECOMP_DIST>
118
134
X<|Programs,RAKUDO_PRECOMP_LOADING>
119
- =item C<RAKUDO_PRECOMP_LOADING> (B<src/core.c/CompUnit/PrecompilationRepository.rakumod>)
135
+ =item C<RAKUDO_PRECOMP_LOADING>
120
136
X<|Programs,RAKUDO_PRECOMP_WITH>
121
- =item C<RAKUDO_PRECOMP_WITH> (B<src/core.c/CompUnit/PrecompilationRepository.rakumod>)
137
+ =item C<RAKUDO_PRECOMP_WITH>
122
138
123
139
These are internal variables for passing serialized state to precompilation jobs
124
140
in child processes. Please do not set them manually.
@@ -178,7 +194,9 @@ L«C<$*DEFAULT-READ-ELEMS>|/language/variables#$*DEFAULT-READ-ELEMS» dynamic
178
194
variable.
179
195
180
196
X<|Programs,RAKUDO_ERROR_COLOR>
181
- =item C<RAKUDO_ERROR_COLOR> (I<Bool>; B<src/core.c/Exception.rakumod>)
197
+ =item C<RAKUDO_ERROR_COLOR>
198
+
199
+ Type: L<C<Bool>|/type/Bool>.
182
200
183
201
Controls whether to emit ANSI codes for error highlighting. Defaults to true
184
202
if unset, except on Windows.
@@ -192,7 +210,9 @@ the C<REPL>. This allows the C<REPL> to be better integrated in the Emacs
192
210
environment (which sets this environment variable).
193
211
194
212
X<|Programs,RAKUDO_MAX_THREADS>
195
- =item C<RAKUDO_MAX_THREADS> (I<UInt>; B<src/core.c/ThreadPoolScheduler.rakumod>)
213
+ =item C<RAKUDO_MAX_THREADS>
214
+
215
+ Type: L<C<Uint>|/type/Uint>.
196
216
197
217
Indicates the maximum number of threads used by default when creating a
198
218
L<C<ThreadPoolScheduler>|/type/ThreadPoolScheduler>. Defaults to 64 unless there appear to be more than
@@ -203,7 +223,9 @@ specify "B<unlimited>" or "B<Inf>" to indicate that the number of threads
203
223
available by the operating system, will be the limiting factor.
204
224
205
225
X<|Programs,TMPDIR>X<|Programs,TEMP>X<|Programs,TMP>
206
- =item C<TMPDIR>, C<TEMP>, C<TMP> (I<Str>; B<src/core.c/IO/Spec/>)
226
+ =item C<TMPDIR>, C<TEMP>, C<TMP>
227
+
228
+ Type: L<C<Str>|/type/Str>.
207
229
208
230
The C<IO::Spec::Unix.tmpdir> method will return C<$TMPDIR> if it points to a
209
231
directory with full access permissions for the current user, with a fallback
@@ -213,7 +235,9 @@ L<C<IO::Spec::Cygwin>|/type/IO::Spec::Cygwin> and L<C<IO::Spec::Win32>|/type/IO:
213
235
which also include the C<%TEMP%> and C<%TMP%> environment variables.
214
236
215
237
X<|Programs,PATH>
216
- =item C<PATH>, C<Path> (I<Str>; B<src/core.c/IO/Spec/>)
238
+ =item C<PATH>, C<Path>
239
+
240
+ Type: L<C<Str>|/type/Str>.
217
241
218
242
The C<IO::Spec::Unix.path> method splits C<$PATH> as a
219
243
shell would; i.e. as a colon-separated list. L<C<IO::Spec::Cygwin>|/type/IO::Spec::Cygwin> inherits this
0 commit comments