mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
24560ded2e
Summary: This updates Thrift codegen for Rust to call hooks on a context stack in a similar fashion as the C++ codegen. There is still a bit of room for improvement here. Notably, we don't know how much data we actually read or sent to the client, so for now those are hard-coded to zero in the codegen. That's better than not calling those hooks at all (which is what happens right now), but it could stand to be improved. Reviewed By: jsgf Differential Revision: D24445298 fbshipit-source-id: 470daf03057424dc300b6a193668be835ae28452 |
||
---|---|---|
.. | ||
Cargo.toml | ||
hgserver.thrift | ||
thrift_build.rs | ||
thrift_lib.rs |