Summary: Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.34 to 1.0.35. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.35</h2> <ul> <li> <p>Support 1-argument use of <code>ensure!</code> (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/126">https://github.com/facebook/flipper/issues/126</a>)</p> <pre lang="rust"><code>ensure!(depth <= MAX_DEPTH); // error msg on a false condition would be "Condition failed: `depth <= MAX_DEPTH`" </code></pre> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="2a82468b07"><code>2a82468</code></a> Release 1.0.35</li> <li><a href="cdfd375b59"><code>cdfd375</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/130">https://github.com/facebook/flipper/issues/130</a> from dtolnay/ensure</li> <li><a href="435f5ec45e"><code>435f5ec</code></a> Use concat/stringify macros by absolute path</li> <li><a href="cb57a41789"><code>cb57a41</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/129">https://github.com/facebook/flipper/issues/129</a> from dtolnay/ensure</li> <li><a href="6161f7dab5"><code>6161f7d</code></a> Test 1-argument ensure</li> <li><a href="da82eba245"><code>da82eba</code></a> Implement 1-argument ensure</li> <li><a href="0c0e41fdb1"><code>0c0e41f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/128">https://github.com/facebook/flipper/issues/128</a> from dtolnay/doc-cfg</li> <li><a href="dc099d2e28"><code>dc099d2</code></a> Fill in some more use of doc(cfg)</li> <li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.34...1.0.35">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/1741 Reviewed By: mweststrate Differential Revision: D25373208 Pulled By: passy fbshipit-source-id: 7fe3896c680706c68ec7ff48648aa79f7f0f11c6
Flipper Packer
Work in progress and incomplete
A tool for splitting a Flipper build into smaller artifacts that can be distributed and cached separately.
N.B. Buck build files are not included in the open-source export of this tool.
Building
With cargo:
$ cargo build
With Buck:
$ buck build :packer
Testing
With cargo:
$ cargo test
With Buck:
$ buck test :packer
Usage
See help page:
$ cargo run -- --help
flipper-packer 0.1.0
Facebook, Inc.
USAGE:
flipper-packer [FLAGS] [OPTIONS] <PLATFORM>
FLAGS:
-h, --help Prints help information
-p, --packlist Custom list of files to pack.
-V, --version Prints version information
OPTIONS:
-d, --dist <DIRECTORY> Flipper dist directory to read from. [default: ~/fbsource/xplat/sonar/dist]
-o, --output <DIRECTORY> Directory to write output files to. [default: .]
ARGS:
<PLATFORM> Platform to build for [possible values: Mac, Linux, Windows]
Buck:
$ buck run :packer