org.jetbrains.kotlin.wasm.config.WasmConfigurationKeys Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-embeddable Show documentation
Show all versions of kotlin-compiler-embeddable Show documentation
the Kotlin compiler embeddable
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.wasm.config;
import org.jetbrains.kotlin.config.CompilerConfigurationKey;
import org.jetbrains.kotlin.platform.wasm.WasmTarget;
public class WasmConfigurationKeys {
public static final CompilerConfigurationKey WASM_ENABLE_ARRAY_RANGE_CHECKS =
CompilerConfigurationKey.create("enable array range checks");
public static final CompilerConfigurationKey WASM_ENABLE_ASSERTS =
CompilerConfigurationKey.create("enable asserts");
public static final CompilerConfigurationKey WASM_GENERATE_WAT =
CompilerConfigurationKey.create("generate wat file");
public static final CompilerConfigurationKey WASM_TARGET =
CompilerConfigurationKey.create("wasm target");
public static final CompilerConfigurationKey WASM_USE_TRAPS_INSTEAD_OF_EXCEPTIONS =
CompilerConfigurationKey.create("use wasm traps instead of throwing exceptions");
public static final CompilerConfigurationKey WASM_USE_NEW_EXCEPTION_PROPOSAL =
CompilerConfigurationKey.create("use wasm new exception proposal");
}