forked from golang/go
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc/wasm: move wasm runtime files to lib/wasm
Fixes golang#68024 Change-Id: I730c3ecfb14472f3eea3895c2a4d5e1d4ac146f5 GitHub-Last-Rev: 4242f36 GitHub-Pull-Request: golang#68840 Reviewed-on: https://go-review.googlesource.com/c/go/+/604696 Reviewed-by: Cherry Mui <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Johan Brandhorst-Satzkorn <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information
Showing
56 changed files
with
74 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
## Ports {#ports} | ||
|
||
### WebAssembly {#wasm} | ||
|
||
The support files for WebAssembly have been moved to `lib/wasm` from `misc/wasm`. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/encoding.min.js"></script> | ||
(see https://caniuse.com/#feat=textencoder) | ||
--> | ||
<script src="wasm_exec.js"></script> | ||
<script src="../../lib/wasm/wasm_exec.js"></script> | ||
<script> | ||
if (!WebAssembly.instantiateStreaming) { // polyfill | ||
WebAssembly.instantiateStreaming = async (resp, importObject) => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ echo go1.999testmod here! | |
-- bin/gofmt -- | ||
echo i am unused | ||
-- pkg/tool/fake -- | ||
-- lib/wasm/go_js_wasm_exec -- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters