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:
2222* Duncan Uszkay <duncan.uszkay@shopify.com>
2323* Surma <surma@surma.dev>
2424* Julien Letellier <letellier.julien@gmail.com>
25+ * Guido Zuidhof <me@guido.io>
2526
2627Portions of this software are derived from third-party works licensed under
2728the following terms:
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ declare type anyref = object;
4040
4141// Compiler hints
4242
43- /** Compiler target. 0 = JS , 1 = WASM32 , 2 = WASM64 . */
43+ /** Compiler target. 0 = WASM32 , 1 = WASM64 , 2 = JS . */
4444declare const ASC_TARGET : i32 ;
4545/** Provided noAssert option. */
4646declare const ASC_NO_ASSERT : bool ;
Original file line number Diff line number Diff line change 33/** Compilation target. */
44export enum Target {
55 /** WebAssembly with 32-bit pointers. */
6- WASM32 ,
6+ WASM32 = 0 ,
77 /** WebAssembly with 64-bit pointers. Experimental and not supported by any runtime yet. */
8- WASM64 ,
8+ WASM64 = 1 ,
99 /** Portable. */
10- JS
10+ JS = 2
1111}
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ declare type valueof<T extends unknown[]> = T[0];
3333
3434// Compiler hints
3535
36- /** Compiler target. 0 = JS , 1 = WASM32 , 2 = WASM64 . */
36+ /** Compiler target. 0 = WASM32 , 1 = WASM64 , 2 = JS . */
3737declare const ASC_TARGET : i32 ;
3838/** Provided noAssert option. */
3939declare const ASC_NO_ASSERT : bool ;
You can’t perform that action at this time.
0 commit comments