Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

observerward: fix test when built with rust 1.67.0 #121737

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions Formula/observerward.rb
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