Skip to content

Commit 11daef2

Browse files
BrewTestBotchenrui333
authored andcommitted
toast 0.47.7
toast: remove build patch Signed-off-by: Rui Chen <[email protected]>
1 parent 9ac5e2d commit 11daef2

File tree

1 file changed

+2
-23
lines changed

1 file changed

+2
-23
lines changed

Formula/t/toast.rb

+2-23
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
class Toast < Formula
22
desc "Tool for running tasks in containers"
33
homepage "https://github.com/stepchowfun/toast"
4+
url "https://github.com/stepchowfun/toast/archive/refs/tags/v0.47.7.tar.gz"
5+
sha256 "532a883c0e96ab274c25e3256ad532e525fd2d5e393ebd4712e591de64a2f7c9"
46
license "MIT"
57
head "https://github.com/stepchowfun/toast.git", branch: "main"
68

7-
stable do
8-
url "https://github.com/stepchowfun/toast/archive/refs/tags/v0.47.6.tar.gz"
9-
sha256 "6cda205ec551232106a05a94b6a71d9eb90e4d3bf1541e629062c65257aa3e6a"
10-
11-
# eliminate needless lifetimes, upstream pr ref, https://github.com/stepchowfun/toast/pull/524
12-
patch :DATA
13-
end
14-
159
bottle do
1610
sha256 cellar: :any_skip_relocation, arm64_sequoia: "32d64e56a321339f6c83f3df40c5078da1b9327bdda1db3c96a1f0d59fb2cb27"
1711
sha256 cellar: :any_skip_relocation, arm64_sonoma: "e1dad05bd1a76d6196771c60a29cc3c2256daa2aefd8d0876f24456e5d53a920"
@@ -43,18 +37,3 @@ def install
4337
assert_match "homebrew_test", shell_output("#{bin}/toast --list")
4438
end
4539
end
46-
47-
__END__
48-
diff --git a/src/failure.rs b/src/failure.rs
49-
index bb01653..05ab70b 100644
50-
--- a/src/failure.rs
51-
+++ b/src/failure.rs
52-
@@ -24,7 +24,7 @@ impl fmt::Display for Failure {
53-
}
54-
55-
impl error::Error for Failure {
56-
- fn source<'a>(&'a self) -> Option<&(dyn error::Error + 'static)> {
57-
+ fn source(&self) -> Option<&(dyn error::Error + 'static)> {
58-
match self {
59-
Self::System(_, source) => source.as_ref().map(|e| &**e),
60-
Self::User(_, source) => source.as_ref().map(|e| &**e),

0 commit comments

Comments
 (0)