Add Targets derive macro
commit4ed04e6725e6ff218f872c7e97c436d673a8edd4
authorAaron Orenstein <aorenste@fb.com>
Tue, 8 Mar 2022 19:43:12 +0000 (8 11:43 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 8 Mar 2022 19:43:12 +0000 (8 11:43 -0800)
tree54a972e29e2350bc7c1e568fa0d76d584bdd0b15
parent738032ae7e533dc056b4e273c632f1aa75c41394
Add Targets derive macro

Summary: Add a macro to derive the `impl Targets` for the opcodes enum.  The actual use of the macro is done in a later diff.

Reviewed By: edwinsmith

Differential Revision: D34676276

fbshipit-source-id: 16aec25be159cb9c2b6a0511132845ac8709e943
hphp/hack/src/hackc/hhbc/dump_opcodes.rs
hphp/hack/src/hackc/hhbc/emit_opcodes.rs
hphp/hack/src/hackc/hhbc/emit_opcodes_macro.rs