sapling/eden
David Tolnay f9ae9f62c1 Use safe cxx signature for metadata creation
Summary:
This diff cleans up all remaining places that Thrift metadata is being created as a raw pointer, which had to be converted unsafely to UniquePtr in D30180770 (ff5931b944).

It also eliminates all the places that definitions of `MetadataFunc` and `RustThriftMetadata` were duplicated across the codebase. It would have been UB if any of these were to fall out of sync, as I discovered when trying to adjust the representation of RustThriftMetadata in D30180770 (ff5931b944).

Reviewed By: guswynn

Differential Revision: D30182979

fbshipit-source-id: 3313440313f28863ac378986c04522d358cb4fd5
2021-08-11 05:23:27 -07:00
..
fs pool eden thrift connections 2021-08-10 18:57:52 -07:00
hg-server remove use of chashmap 2021-08-03 13:07:18 -07:00
integration integration: make tests compatible on Windows 2021-08-05 17:34:25 -07:00
locale
mononoke Use safe cxx signature for metadata creation 2021-08-11 05:23:27 -07:00
scm metrics: add println renderer 2021-08-10 14:11:23 -07:00
test_support fix systemd tests locally 2021-07-09 17:24:11 -07:00
test-data fix fsck snapshot integration tests 2021-07-14 16:20:04 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml