examples: update exported fn for tensorflow
Commit ("examples: test hello_world over gRPC")
changed the example entrypoint from grpc_oak_main to oak_main
but didn't update the corresponding `EXPORTED_FUNCTIONS` option
in the BUILD file.
@@ -36,7 +36,7 @@ cc_binary(
"-s AUTO_ARCHIVE_INDEXES=0", # Necessary to remove console spam.
"-s DISABLE_EXCEPTION_CATCHING=1",
"-s ERROR_ON_UNDEFINED_SYMBOLS=0",
- "-s EXPORTED_FUNCTIONS='[\"_grpc_oak_main\"]'",
+ "-s EXPORTED_FUNCTIONS='[\"_oak_main\"]'",
"-s FILESYSTEM=0",
"-s MALLOC=emmalloc",
"-s STANDALONE_WASM=1", # WASM file should run without JavaScript.
@@ -69,7 +69,7 @@ cc_binary(
"-s AUTO_ARCHIVE_INDEXES=0", # Necessary to remove console spam.
"-s DISABLE_EXCEPTION_CATCHING=1",
"-s ERROR_ON_UNDEFINED_SYMBOLS=0",
- "-s EXPORTED_FUNCTIONS='[\"_grpc_oak_main\"]'",
+ "-s EXPORTED_FUNCTIONS='[\"_oak_main\"]'",
"-s FILESYSTEM=0",
"-s MALLOC=emmalloc",
"-s STANDALONE_WASM=1", # WASM file should run without JavaScript.
