Skip to content

Commit

Permalink
rust: Temporarily use a patched version of failure crate
Browse files Browse the repository at this point in the history
This fixes an issue in the failure crate which used a private name from
the quote crate which was removed in version 1.0.3+.

For more details, see:
- https://users.rust-lang.org/t/failure-derive-compilation-error/39062
- rust-lang-deprecated/failure#343
  • Loading branch information
tjanez committed Mar 5, 2020
1 parent 8079357 commit a5f7f1a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 18 deletions.
5 changes: 5 additions & 0 deletions .changelog/2754.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rust: Temporarily use a patched version of failure crate

This fixes an [issue in the failure crate](
https://users.rust-lang.org/t/failure-derive-compilation-error/39062) which
used a private name from the quote crate which was removed in version 1.0.3+.
48 changes: 30 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ members = [
[patch.crates-io]
# TODO: Remove when merged upstream (briansmith/ring#738).
ring = { git = "https://github.com/oasislabs/ring-sgx", branch = "sgx-target" }
# TODO: Remove after a new release with the fix in
# https://github.com/rust-lang-nursery/failure/pull/343 is released.
failure = { git = "https://github.com/grokse/failure", branch = "build_quote_103" }

[profile.release]
panic = "abort"

0 comments on commit a5f7f1a

Please sign in to comment.