[K/Wasm] Add Binaryen sizes to Wasm size tests
This commit is contained in:
+4
@@ -39,4 +39,8 @@ object WasmEnvironmentConfigurationDirectives : SimpleDirectivesContainer() {
|
||||
description = "Enables generation of source map",
|
||||
applicability = DirectiveApplicability.Global
|
||||
)
|
||||
|
||||
val RUN_THIRD_PARTY_OPTIMIZER by directive(
|
||||
description = "Also run third-party optimizer (for now, only binaryen is supported) after the main compilation",
|
||||
)
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ object BinaryArtifacts {
|
||||
class Wasm(
|
||||
val compilerResult: WasmCompilerResult,
|
||||
val compilerResultWithDCE: WasmCompilerResult,
|
||||
val compilerResultWithOptimizer: WasmCompilerResult?,
|
||||
) : ResultingArtifact.Binary<Wasm>() {
|
||||
override val kind: BinaryKind<Wasm>
|
||||
get() = ArtifactKinds.Wasm
|
||||
|
||||
Reference in New Issue
Block a user