ext/pyroscope/extconf.rb in pyroscope-0.0.6 vs ext/pyroscope/extconf.rb in pyroscope-0.0.7

- old
+ new

@@ -29,9 +29,12 @@ raise "HTTP error: #{res2.code}" unless res2.code == "200" lib2 = res2.body File.binwrite(File.join(ROOT, "lib/librustdeps.a"), lib2) end +# TODO: figure out how to fix this bug +system "strip --strip-debug #{File.join(ROOT, "lib/libpyroscope.rbspy.a")}" + # system "cp /Users/dmitry/Dev/ps/pyroscope/out/libpyroscope.rbspy.a #{File.join(ROOT, "lib/libpyroscope.rbspy.a")}" # system "cp /Users/dmitry/Dev/ps/pyroscope/third_party/rustdeps/target/release/librustdeps.a #{File.join(ROOT, "lib/librustdeps.a")}" dir_config('pyroscope', HEADER_DIRS, LIB_DIRS)