Add closure example for wasm_cc_binary (#941)
* Stub out addition of closure_externs_file option in wasm_cc_binary * WIP * args are passed, externs cannot be found * try location * update tests
This commit is contained in:
3
bazel/test_external/hello-embind-interface.js
Normal file
3
bazel/test_external/hello-embind-interface.js
Normal file
@@ -0,0 +1,3 @@
|
||||
Module.customJSFunctionToTestClosure = function(firstParam, secondParam) {
|
||||
console.log("This function adds two numbers to get", firstParam + secondParam);
|
||||
}
|
||||
Reference in New Issue
Block a user