Skip to content

Commit 2e1613a

Browse files
Bug 1945694 - build(rust): upgrade cc 1.0.89 → 1.2.12 r=#supply-chain-reviewers,glandium
`cc` upstream broke a few things that have been handled by other patches motivated specifically by this upgrade: 1. `cc::Build` now rejects unknown targets not baked in. This breaks `swgl`'s usage of the `SWGL` target. We migrated away from this behavior in D235480. 2. `cc::Build::is_like_msvc`'s underlying logic changed, and now does not return `true`. This has been worked around in D236305, and will be removed after this patch in D236650. 3. PGO flag inheritance changed, which required us to explicitly pass some PTO- and LTO-related flags to keep compiling. This has been adjusted in D236966. These are handled, and there should be no concern (finally) in landing this. 🫡 Woot! Differential Revision: https://phabricator.services.mozilla.com/D236957
1 parent 08b7628 commit 2e1613a

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)