sapling/configerator/structs/scm/mononoke/fastreplay
Thomas Orozco 24560ded2e thrift: call hooks from Rust codegen
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
2020-10-22 17:01:47 -07:00
..
Cargo.toml thrift: call hooks from Rust codegen 2020-10-22 17:01:47 -07:00
fastreplay.thrift Re-sync with internal repository 2020-06-24 21:35:50 +02:00
thrift_build.rs Remove crate_root from Rust dependency info 2020-08-31 14:43:24 -07:00
thrift_lib.rs Re-sync with internal repository 2020-06-24 21:35:50 +02:00