Sign in
fuchsia
/
third_party
/
github.com
/
google
/
flatbuffers
/
refs/heads/main
/
.
/
goldens
/
rust
/
generate.py
blob: 9d3d874daf178b55f6955fe8168f4b7333a46054 [
file
] [
log
] [
blame
] [
edit
]
from
golden_utils
import
flatc_golden
def
flatc
(
options
,
schema
):
# Wrap the golden flatc generator with Rust specifics
flatc_golden
(
options
=[
"--rust"
]
+
options
,
schema
=
schema
,
prefix
=
"rust"
)
def
GenerateRust
():
flatc
([],
"basic.fbs"
)