Skip to content

Commit 258e170

Browse files
committed
Document why some stdlib files are not copied over
1 parent 7d9583d commit 258e170

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tool/import-mri-files.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,19 @@ topdir=$(cd ../ruby && pwd -P)
1919
rm -r lib/mri
2020
cp -r ../ruby/lib lib/mri
2121
rm lib/mri/racc/rdoc/grammar.en.rdoc
22+
# We have our own version under lib/truffle
2223
rm lib/mri/securerandom.rb
2324
rm lib/mri/timeout.rb
2425
rm lib/mri/weakref.rb
25-
rm lib/mri/profile.rb
26+
# Uses TracePoint.new(:call), and we have a more efficient --cpusampler
2627
rm lib/mri/profiler.rb
28+
# Uses RubyVM
2729
rm lib/mri/debug.rb
30+
rm lib/mri/profile.rb
31+
# NPE in for
2832
rm lib/mri/shell.rb
2933
rm -r lib/mri/shell
34+
# Files not actually installed in MRI
3035
find lib/mri -name '*.gemspec' -delete
3136
find lib/mri -name '.document' -delete
3237

0 commit comments

Comments
 (0)