Repository: tetratelabs/wazero
Pull request #566 (2022-05-17 01:47:55)

Adds issue templates
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>

Copied from [func-e](https://github.com/tetratelabs/func-e/tree/master/.github/ISSUE_TEMPLATE) with bug-report fairly heavily modified to reflect reproduction / environment of wazero. Environment in particular I might have missed something, let me know what would be helpful there.


Patch:
diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md
new file mode 100644
index 00000000..814f9b97
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug-report.md
@@ -0,0 +1,31 @@
+---
+name: Bug Report
+about: Create a report to help us improve wazero.
+title: ''
+labels: bug
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Description of the host and wasm code that reproduces the behavior.
+Smoothest debugging will be if you can share a repository with the
+actual code.
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Environment (please complete the relevant information):**
+- Go version: [e.g. 1.18.1]
+- wazero Version: [e.g. c815060196bbfaa2d0f66a6ddbe64ba026523944]
+- Host architecture: [e.g. amd64]
+- Runtime mode: [e.g. interpreter or compiler]
+
+**Additional context**
+Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md
new file mode 100644
index 00000000..15ca094b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature-request.md
@@ -0,0 +1,20 @@
+---
+name: Feature Request
+about: Suggest an idea for wazero to support.
+title: ''
+labels: enhancement
+assignees: ''
+
+---
+
+**Is your feature request related to a problem? Please describe.**
+A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+
+**Describe the solution you'd like**
+A clear and concise description of what you want to happen.
+
+**Describe alternatives you've considered**
+A clear and concise description of any alternative solutions or features you've considered.
+
+**Additional context**
+Add any other context or screenshots about the feature request here.
diff --git a/README.md b/README.md
index 2cfef799..575bf6f2 100644
--- a/README.md
+++ b/README.md
@@ -186,7 +186,7 @@ wazero is a registered trademark of Tetrate.io, Inc. in the United States and/or
 
 [1]: https://www.w3.org/TR/2019/REC-wasm-core-1-20191205/
 [2]: https://www.w3.org/TR/2022/WD-wasm-core-2-20220419/
-[3]: ./internal/integration_test/post1_0/multi-value/testdata/fac.wat
+[3]: ./internal/integration_test/vs/testdata/fac.wat
 [4]: https://github.com/WebAssembly/meetings/blob/main/process/subgroups.md
 [5]: https://github.com/WebAssembly/WASI
 [6]: https://pkg.go.dev/golang.org/x/sys/unix
diff --git a/internal/asm/amd64/assembler.go b/internal/asm/amd64/assembler.go
index 46c3688f..7f0cf3fc 100644
--- a/internal/asm/amd64/assembler.go
+++ b/internal/asm/amd64/assembler.go
@@ -1,4 +1,4 @@
-package asm_amd64
+package amd64
 
 import (
 	"github.com/tetratelabs/wazero/internal/asm"
diff --git a/internal/asm/amd64/consts.go b/internal/asm/amd64/consts.go
index f791c1b4..baf39d79 100644
--- a/internal/asm/amd64/consts.go
+++ b/internal/asm/amd64/consts.go
@@ -1,4 +1,4 @@
-package asm_amd64
+package amd64
 
 import "github.com/tetratelabs/wazero/internal/asm"
 
diff --git a/internal/asm/amd64/impl.go b/internal/asm/amd64/impl.go
index a83f1fda..5907ef07 100644
--- a/internal/asm/amd64/impl.go
+++ b/internal/asm/amd64/impl.go
@@ -1,4 +1,4 @@
-package asm_amd64
+package amd64
 
 import (
 	"bytes"
diff --git a/internal/asm/arm64/assembler.go b/internal/asm/arm64/assembler.go
index 5be6085e..80e1ab1f 100644
--- a/internal/asm/arm64/assembler.go
+++ b/internal/asm/arm64/assembler.go
@@ -1,4 +1,4 @@
-package asm_arm64
+package arm64
 
 import (
 	"github.com/tetratelabs/wazero/internal/asm"
diff --git a/internal/asm/arm64/consts.go b/internal/asm/arm64/consts.go
index e06cdeaf..5464870a 100644
--- a/internal/asm/arm64/consts.go
+++ b/internal/asm/arm64/consts.go
@@ -1,4 +1,4 @@
-package asm_arm64
+package arm64
 
 import (
 	"github.com/tetratelabs/wazero/internal/asm"
diff --git a/internal/asm/arm64/impl.go b/internal/asm/arm64/impl.go
index 734951cd..760d7a96 100644
--- a/internal/asm/arm64/impl.go
+++ b/internal/asm/arm64/impl.go
@@ -1,4 +1,4 @@
-package asm_arm64
+package arm64
 
 import (
 	"bytes"


Test patch:
diff --git a/internal/asm/amd64/impl_test.go b/internal/asm/amd64/impl_test.go
index 7fa95656..6a03c997 100644
--- a/internal/asm/amd64/impl_test.go
+++ b/internal/asm/amd64/impl_test.go
@@ -1,4 +1,4 @@
-package asm_amd64
+package amd64
 
 import (
 	"strconv"
diff --git a/internal/asm/arm64/impl_test.go b/internal/asm/arm64/impl_test.go
index 7b343f03..7e8eb719 100644
--- a/internal/asm/arm64/impl_test.go
+++ b/internal/asm/arm64/impl_test.go
@@ -1,4 +1,4 @@
-package asm_arm64
+package arm64
 
 import (
 	"testing"