Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix recent bugs with shim/third-party
Summary: Observed builds at [TraceMachina/buck2](https://github.com/TraceMachina/buck2/actions/workflows/build-and-test.yml) recently broke due to inconsistencies with shim/third-party directory. `reindeer buckify` will not delete existing `Cargo.lock` and `BUCK` if they already exist. `reindeer update` might assume that `reindeer buckify` was done first. A simple and consistent way is to ensure those files are deleted before calling `reindeer` instead of assuming how `reindeer` will behave. [serde-rs](https://github.com/serde-rs/json/blob/5ebf65cc480f90714c94f82099ca9161d80cbb10/build.rs#L11) recently introduced a rustc configuration flag that has to be set.`fast_arithmetic` chooses the architecture based on `target_arch`, repeat the same in the fixup scripts. `zstd` is missing header files, most likely not caught due to stale `Cargo.lock` and `BUCK` files. X-link: facebook/buck2#751 Reviewed By: JakobDegen Differential Revision: D61753931 Pulled By: dtolnay fbshipit-source-id: 2432083b700149a24cdd9b3954d250a147403954
- Loading branch information