Files
flipper/packer
dependabot[bot] bdf26afe5d Bump rayon from 1.5.0 to 1.5.1 in /packer (#2349)
Summary:
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.0 to 1.5.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rayon-rs/rayon/blob/master/RELEASES.md">rayon's changelog</a>.</em></p>
<blockquote>
<h1>Release rayon 1.5.1 / rayon-core 1.9.1 (2021-05-18)</h1>
<ul>
<li>The new <code>in_place_scope</code> and <code>in_place_scope_fifo</code> are variations of <code>scope</code>
and <code>scope_fifo</code>, running the initial non-<code>Send</code> callback directly on the
current thread, rather than moving execution to the thread pool.</li>
<li>With Rust 1.51 or later, arrays now implement <code>IntoParallelIterator</code>.</li>
<li>New implementations of <code>FromParallelIterator</code> make it possible to <code>collect</code>
complicated nestings of items.
<ul>
<li><code>FromParallelIterator&lt;(A, B)&gt; for (FromA, FromB)</code> works like <code>unzip</code>.</li>
<li><code>FromParallelIterator&lt;Either&lt;L, R&gt;&gt; for (A, B)</code> works like <code>partition_map</code>.</li>
</ul>
</li>
<li>Type inference now works better with parallel <code>Range</code> and <code>RangeInclusive</code>.</li>
<li>The implementation of <code>FromParallelIterator</code> and <code>ParallelExtend</code> for
<code>Vec&lt;T&gt;</code> now uses <code>MaybeUninit&lt;T&gt;</code> internally to avoid creating any
references to uninitialized data.</li>
<li><code>ParallelBridge</code> fixed a bug with threads missing available work.</li>
</ul>
<h2>Contributors</h2>
<p>Thanks to all of the contributors for this release!</p>
<ul>
<li><a href="https://github.com/atouchet"><code>@​atouchet</code></a></li>
<li><a href="https://github.com/cuviper"><code>@​cuviper</code></a></li>
<li><a href="https://github.com/Hywan"><code>@​Hywan</code></a></li>
<li><a href="https://github.com/iRaiko"><code>@​iRaiko</code></a></li>
<li><a href="https://github.com/Qwaz"><code>@​Qwaz</code></a></li>
<li><a href="https://github.com/rocallahan"><code>@​rocallahan</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ebcb09b1dc"><code>ebcb09b</code></a> adjust the latest release date</li>
<li><a href="93d909195b"><code>93d9091</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/860">https://github.com/facebook/flipper/issues/860</a></li>
<li><a href="dbc026b5a8"><code>dbc026b</code></a> Release rayon 1.5.1 / rayon-core 1.9.1</li>
<li><a href="87aae49598"><code>87aae49</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/859">https://github.com/facebook/flipper/issues/859</a></li>
<li><a href="2e13d8909f"><code>2e13d89</code></a> Update demo dependencies</li>
<li><a href="3c7489e168"><code>3c7489e</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/855">https://github.com/facebook/flipper/issues/855</a></li>
<li><a href="0bd4ec6cea"><code>0bd4ec6</code></a> Add <code>in_place_scope_fifo</code></li>
<li><a href="6a01573a18"><code>6a01573</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/844">https://github.com/facebook/flipper/issues/844</a></li>
<li><a href="8815e26cf6"><code>8815e26</code></a> Implement in_place_scope: a scope that runs its driver closure on the same th...</li>
<li><a href="aacced8826"><code>aacced8</code></a> Merge <a href="https://github-redirect.dependabot.com/rayon-rs/rayon/issues/852">https://github.com/facebook/flipper/issues/852</a></li>
<li>Additional commits viewable in <a href="https://github.com/rayon-rs/rayon/compare/rayon-core-v1.5.0...v1.5.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rayon&package-manager=cargo&previous-version=1.5.0&new-version=1.5.1)](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/2349

Reviewed By: nikoant

Differential Revision: D28830908

Pulled By: passy

fbshipit-source-id: 7aeb7e799090e3a0c7f116dcce3db3de52779663
2021-06-02 06:48:26 -07:00
..
2021-03-23 13:28:14 -07:00
2020-05-01 04:04:48 -07:00
2021-03-23 13:28:14 -07:00
2021-03-23 13:28:14 -07:00

Flipper Packer

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.3.0
Facebook, Inc.
Split the Flipper distribution into smaller, cacheable artifacts

USAGE:
    flipper-packer [FLAGS] [OPTIONS] <PLATFORM>

FLAGS:
    -h, --help              Prints help information
        --no-compression    Skip compressing the archives (for debugging)
    -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