From a69a741a00bb2ba458759bba156e03c3368a0725 Mon Sep 17 00:00:00 2001 From: dcode Date: Tue, 30 Mar 2021 20:36:59 +0200 Subject: [PATCH] Add definitions for ASC_VERSION_* --- std/assembly/index.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index ade4dec847..af2c7f4181 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -90,6 +90,12 @@ declare const ASC_FEATURE_MULTI_VALUE: bool; declare const ASC_FEATURE_GC: bool; /** Whether the memory64 feature is enabled. */ declare const ASC_FEATURE_MEMORY64: bool; +/** Major version of the compiler. */ +declare const ASC_VERSION_MAJOR: i32; +/** Minor version of the compiler. */ +declare const ASC_VERSION_MINOR: i32; +/** Patch version of the compiler. */ +declare const ASC_VERSION_PATCH: i32; // Builtins