Skip to content

Commit

Permalink
Attempt to workaround unused-deps CI error by updating mdbook to 0.4.…
Browse files Browse the repository at this point in the history
…20 and applying upstream patch (FuelLabs#2360)

* Attempt to fix unused-deps CI error by updating mdbook to 0.4.20

* Use temporary patch for mdbook 0.4.20 to work around rust nightly breakage
  • Loading branch information
mitchmindtree authored Jul 22, 2022
1 parent bd8f8fe commit 6d3cbac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

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

5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ exclude = [

[profile.dev.package.sway-lsp]
debug = 2

[patch.crates-io]
# A workaround for a bug in mdbook `0.4.20` introduced by some breakage in rustc 1.64.0-nightly (62b272d25 2022-07-21).
# This should be removed when either this PR https://github.com/rust-lang/mdBook/pull/1861 or a related fix is published.
mdbook = { git = "https://github.com/mitchmindtree/mdBook", branch = "nightly-borrowcheck-err-workaround" }

0 comments on commit 6d3cbac

Please sign in to comment.