From aec42cc8e7f4058f944d4ff46148cb03f33a75df Mon Sep 17 00:00:00 2001 From: Daniel Wirtz Date: Tue, 30 Mar 2021 21:09:04 +0200 Subject: [PATCH] Add definitions for ASC_VERSION_* (#1773) --- 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