mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
bb22e387cb
Summary: This is a first set of changes to help `cdatapack` compile on Windows. Second set will include adding some way of using `mman` on Windows. Test Plan: - `make local` on Linux, `rt` - with some intermediary solution for `mman` this also builds on Windows 10, I was able to produce `cdatapack_get.exe` and `cdatapack_dump.exe`. Here's an example: ``` PS C:\Code\fb-hg-rpms\fb-hgext\cdatapack> .\cdatapack_get.exe 3ba0b10b8d251743a2692e042b114c1204b19d74 88dadb363234ec4fec3df85810810d6073288350 xplat/third-party/yarn/offline-mirror/smoothscroll-polyfill-0.3.5.tgz Node Delta Base Delta SHA1 Delta Length 88dadb363234ec4fec3df85810810d6073288350 0000000000000000000000000000000000000000 466e6039b51cb525d70e1a5077ef81e064678eae 26057 ``` Reviewers: durham, #fbhgext Differential Revision: https://phab.mercurial-scm.org/D106 |
||
---|---|---|
.. | ||
cdatapack_dump.c | ||
cdatapack_get.c | ||
cdatapack.c | ||
cdatapack.h | ||
Makefile |