Skip to content

Commit

Permalink
observerward: fix test when built with rust 1.67.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu authored and chenrui333 committed Jan 29, 2023
1 parent 52e527c commit 304f50d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Formula/observerward.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class Observerward < Formula
depends_on "rust" => :build

def install
# Fix a segfault when built with rust 1.67.0.
# Remove on next release.
inreplace "Cargo.toml", 'prettytable-rs = "^0.9"', 'prettytable-rs = "^0.10"'
system "cargo", "update", "--package", "prettytable-rs", "--precise", "0.10.0"

system "cargo", "install", *std_cargo_args
end

Expand Down

0 comments on commit 304f50d

Please sign in to comment.