Skip to content

Commit

Permalink
Remove typeprof, it does not work on TruffleRuby
Browse files Browse the repository at this point in the history
* typeprof uses RubyVM::InstructionSequence which is CRuby-specific.
* `typeprof --version` or `require 'typeprof'` fail with:
  typeprof-0.21.2/lib/typeprof/iseq.rb:4:in `const_missing': uninitialized constant TypeProf::ISeq::RubyVM (NameError)
* It contains a JS lockfile which causes dependabot alerts and PRs.
  • Loading branch information
eregon authored and john-heinnickel committed Aug 16, 2023
1 parent 6d135e6 commit fccc931
Show file tree
Hide file tree
Showing 46 changed files with 3 additions and 14,331 deletions.
3 changes: 2 additions & 1 deletion doc/contributor/updating-ruby.md
Expand Up @@ -122,6 +122,7 @@ cp -R lib/ruby/gems/*.0/gems $TRUFFLERUBY/lib/gems
cp -R lib/ruby/gems/*.0/specifications $TRUFFLERUBY/lib/gems
cd $TRUFFLERUBY
rm -rf lib/gems/gems/typeprof-* lib/gems/specifications/typeprof-*.gemspec
ruby tool/patch-default-gemspecs.rb
```

Expand All @@ -130,7 +131,7 @@ ruby tool/patch-default-gemspecs.rb
```
rm -rf exe
cp -R ~/.rubies/ruby-$VERSION/bin exe
rm -f exe/ruby
rm -f exe/ruby exe/typeprof
ruby tool/patch_launchers.rb
```

Expand Down
48 changes: 0 additions & 48 deletions exe/typeprof

This file was deleted.

13 changes: 0 additions & 13 deletions lib/gems/gems/typeprof-0.21.2/Gemfile

This file was deleted.

39 changes: 0 additions & 39 deletions lib/gems/gems/typeprof-0.21.2/Gemfile.lock

This file was deleted.

21 changes: 0 additions & 21 deletions lib/gems/gems/typeprof-0.21.2/LICENSE

This file was deleted.

41 changes: 0 additions & 41 deletions lib/gems/gems/typeprof-0.21.2/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions lib/gems/gems/typeprof-0.21.2/Rakefile

This file was deleted.

10 changes: 0 additions & 10 deletions lib/gems/gems/typeprof-0.21.2/exe/typeprof

This file was deleted.

20 changes: 0 additions & 20 deletions lib/gems/gems/typeprof-0.21.2/lib/typeprof.rb

This file was deleted.

0 comments on commit fccc931

Please sign in to comment.