Skip to content

Commit aec42cc

Browse files
authored
Add definitions for ASC_VERSION_* (AssemblyScript#1773)
1 parent ede042d commit aec42cc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

std/assembly/index.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ declare const ASC_FEATURE_MULTI_VALUE: bool;
9090
declare const ASC_FEATURE_GC: bool;
9191
/** Whether the memory64 feature is enabled. */
9292
declare const ASC_FEATURE_MEMORY64: bool;
93+
/** Major version of the compiler. */
94+
declare const ASC_VERSION_MAJOR: i32;
95+
/** Minor version of the compiler. */
96+
declare const ASC_VERSION_MINOR: i32;
97+
/** Patch version of the compiler. */
98+
declare const ASC_VERSION_PATCH: i32;
9399

94100
// Builtins
95101

0 commit comments

Comments
 (0)