Core specification that this linker backend implements.
Emit the given LinkingUnit to the target output.
Emit the given LinkingUnit to the target output.
The linking unit given to emit
must:
coreSpec
as this linker backend, andLinkingUnit to emit
File to write to
Logger to use
Symbols this backend needs to be present in the linking unit.
Verify that a LinkingUnit can be processed by this LinkerBackend.
Verify that a LinkingUnit can be processed by this LinkerBackend.
Currently, this only tests that the linking unit core specification matches coreSpec.
In the future, this test could be extended to test symbolRequirements too.
if there is a mismatch
A backend of a standard Scala.js linker.
Produces a JavaScript file with an optional source map.
You probably want to use an instance of Linker, rather than this low-level class.