This allows us to use more conventional "modern" javascript.
In the future, I hope to make languageLoaderPlugin a function instead of
a promise (which would be very easy given this commit), so that users
can supply a custom Module object. One useful application would be to
supply stdout/stderr handlers. This would be a breaking change so I'll
leave it for antoher time.
This is only effective when compiling fortran code, which is not what we
are doing since we have applied f2c. Future versions of clang forbid
specifying the flag when not compiling fortran.
Binaryen now invokes cc instead of gcc, and the cc symlink isn't in
/usr/lib/ccache. This replaces the implementation in #1014.
This has the disadvantage that build is now broken if ccache is not
available.
Previously they were defined as macros and getters were defined for use in javascript, since javascript cannot access macros. Now both are replaced by global constants.
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis
* Lint
* Adjust conftest to automatically deep_copy results of run / run_async
* Update conftest again
* Fix deep/shallowCopyToJavascript
* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id
* Fix the remaining tests (hopefully)
* Lint
* Fix more tests
* Fix some numpy tests
* Lint
* Fix more tests
* Lint
* Temporarily dummy out setLineDash since it breaks test
* Fix test_console
* Update changelog
* Don't automatically copy python objects into javascript, add new PyProxy.shallowCopyToJavascript and deepCopyToJavascript apis
* Lint
* Adjust conftest to automatically deep_copy results of run / run_async
* Update conftest again
* Fix deep/shallowCopyToJavascript
* Fix shallowCopyToJavascript and deepCopyToJavascript to return js object not hiwire id
* Fix the remaining tests (hopefully)
* Lint
* Fix more tests
* Fix some numpy tests
* Lint
* Fix more tests
* Lint
* Temporarily dummy out setLineDash since it breaks test