rust-raspberrypi-OS-tutorials/utils/make_panic_test.rb
2018-11-01 22:44:44 +01:00

14 lines
231 B
Ruby

#!/usr/bin/env ruby
crates = Dir["**/Cargo.toml"].sort!
crates.each do |x|
next if x.include?('raspi3_boot')
x = File.dirname(x)
puts "\n" + x.to_s + ':'
Dir.chdir(x) do
system('make nm | grep panic_fmt')
end
end