Ruopt enum (#6156)

* Rust support for optional enums

* make optional_scalars2 for languages that support optional enums

Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
Casper
2020-10-02 10:30:39 -07:00
committed by GitHub
parent bbcc85fd4c
commit 8ec8322f09
6 changed files with 143 additions and 24 deletions

View File

@@ -53,7 +53,8 @@ $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS $TEST_CS_FLAGS $TEST_JS_TS_FLAGS -o namespace
../flatc --dart monster_extra.fbs
# Generate optional scalar code for tests.
../flatc --kotlin --rust --lobster optional_scalars.fbs
../flatc --kotlin --lobster optional_scalars.fbs # These ones have not added optional enum support.
../flatc --rust optional_scalars2.fbs
../flatc $TEST_NOINCL_FLAGS $TEST_CPP_FLAGS --cpp optional_scalars.fbs
# Generate the schema evolution tests