File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 11class CargoFlamegraph < Formula
22 desc "Easy flamegraphs for Rust projects and everything else"
33 homepage "https://github.com/flamegraph-rs/flamegraph"
4- url "https://github.com/flamegraph-rs/flamegraph/archive/refs/tags/v0.6.7 .tar.gz"
5- sha256 "d7fa901673f4ece09226aeda416b98f919b7d946541ec948f1ef682bd6eec23b "
4+ url "https://github.com/flamegraph-rs/flamegraph/archive/refs/tags/v0.6.8 .tar.gz"
5+ sha256 "2673a04bd4de142220d42706e0c25a4dea08aee52cdffbf87cca5738cec649ff "
66 license any_of : [ "Apache-2.0" , "MIT" ]
77 head "https://github.com/flamegraph-rs/flamegraph.git" , branch : "main"
88
@@ -37,12 +37,7 @@ def install
3737 system "cargo" , "new" , "testproj" , "--bin"
3838 cd "testproj" do
3939 system "cargo" , "build" , "--release"
40- expected = if OS . mac?
41- "Error: DTrace requires elevated permissions"
42- else
43- "WARNING: profiling without debuginfo"
44- end
45- assert_match expected , shell_output ( "cargo flamegraph 2>&1" , 1 )
40+ assert_match "WARNING: profiling without debuginfo" , shell_output ( "cargo flamegraph 2>&1" , 1 )
4641 end
4742
4843 expected = if OS . mac?
You can’t perform that action at this time.
0 commit comments