Skip to content

Commit 51f48fb

Browse files
committed
remove "b" target (pre-nom rakudo)
it is not available right now, and I am not feeling inclined to build a pre-historic rakudo version
1 parent 057fccc commit 51f48fb

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

evalbot.pl

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -95,37 +95,6 @@ package Evalbot;
9595
cmd_line => 'PATH=/usr/local/mono-2.10.1/bin:/usr/local/bin:/usr/bin:/bin LD_LIBRARY_PATH=/usr/local/mono-2.10.1/lib mono ./run/Niecza.exe --safe --obj-dir=obj %program',
9696
revision => sub { get_revision_from_file('~/niecza/VERSION')},
9797
},
98-
b => {
99-
chdir => "$home/rakudo/",
100-
cmd_line => 'PERL6LIB=lib install/bin/perl6 %program',
101-
revision => sub { get_revision_from_file('~/p/rakudo-revision')},
102-
nolock => 1,
103-
filter => \&filter_pct,
104-
# Rakudo loops infinitely when first using Safe.pm, and then declaring
105-
# another class. So don't do that, rather inline the contents of Safe.pm.
106-
program_prefix => q<
107-
module Safe { our sub forbidden(*@a, *%h) { die "Operation not permitted in safe mode" };
108-
Q:PIR {
109-
$P0 = get_hll_namespace
110-
$P1 = get_hll_global ['Safe'], '&forbidden'
111-
$P0['!qx'] = $P1
112-
null $P1
113-
set_hll_global ['IO'], 'Socket', $P1
114-
}; };
115-
Q:PIR {
116-
.local pmc s
117-
s = get_hll_global ['Safe'], '&forbidden'
118-
$P0 = getinterp
119-
$P0 = $P0['outer';'lexpad';1]
120-
$P0['&run'] = s
121-
$P0['&open'] = s
122-
$P0['&slurp'] = s
123-
$P0['&unlink'] = s
124-
$P0['&dir'] = s
125-
};
126-
# EVALBOT ARTIFACT
127-
>,
128-
},
12998
'rakudo-parrot' => {
13099
chdir => "$home",
131100
cmd_line => './rakudo-inst/bin/perl6-p --setting=RESTRICTED %program',

0 commit comments

Comments
 (0)