File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ under the licensing terms detailed in LICENSE:
22
22
* Duncan Uszkay <duncan.uszkay@shopify.com>
23
23
* Surma <surma@surma.dev>
24
24
* Julien Letellier <letellier.julien@gmail.com>
25
+ * Guido Zuidhof <me@guido.io>
25
26
26
27
Portions of this software are derived from third-party works licensed under
27
28
the following terms:
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ declare type anyref = object;
40
40
41
41
// Compiler hints
42
42
43
- /** Compiler target. 0 = JS , 1 = WASM32 , 2 = WASM64 . */
43
+ /** Compiler target. 0 = WASM32 , 1 = WASM64 , 2 = JS . */
44
44
declare const ASC_TARGET : i32 ;
45
45
/** Provided noAssert option. */
46
46
declare const ASC_NO_ASSERT : bool ;
Original file line number Diff line number Diff line change 3
3
/** Compilation target. */
4
4
export enum Target {
5
5
/** WebAssembly with 32-bit pointers. */
6
- WASM32 ,
6
+ WASM32 = 0 ,
7
7
/** WebAssembly with 64-bit pointers. Experimental and not supported by any runtime yet. */
8
- WASM64 ,
8
+ WASM64 = 1 ,
9
9
/** Portable. */
10
- JS
10
+ JS = 2
11
11
}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ declare type valueof<T extends unknown[]> = T[0];
33
33
34
34
// Compiler hints
35
35
36
- /** Compiler target. 0 = JS , 1 = WASM32 , 2 = WASM64 . */
36
+ /** Compiler target. 0 = WASM32 , 1 = WASM64 , 2 = JS . */
37
37
declare const ASC_TARGET : i32 ;
38
38
/** Provided noAssert option. */
39
39
declare const ASC_NO_ASSERT : bool ;
You can’t perform that action at this time.
0 commit comments