[contribution] Add Github issue templates;

This commit is contained in:
Benjamin Bouvier
2019-10-17 17:15:56 +02:00
parent 0243b642e3
commit f721821bec
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
---
name: "Bug report"
about: "Report a bug or a crash in Cranelift."
labels: 'bug'
---
Thanks for opening a bug report on Cranelift! Please answer the questions below
if they're relevant and delete this text before submitting.
- What are the steps to reproduce the issue? Can you include a CLIF test case,
ideally reduced with the `bugpoint` clif-util command?
- What do you expect to happen? What does actually happen? Does it panic, and
if so, with which assertion?
- Which Cranelift version / commit hash / branch are you using?
- If relevant, can you include some extra information about your environment?
(Rust version, operating system, architecture...)

View File

@@ -0,0 +1,15 @@
---
name: "Improvement"
about: "A feature request or code improvement."
---
Please try to describe precisely what you would like to do in Cranelift and/or
expect from it. You can answer the questions below if they're relevant and
delete this text before submitting. Thanks for opening an issue!
- What is the feature or code improvement you would like to do in Cranelift?
- What is the value of adding this in Cranelift?
- Do you have an implementation plan, and/or ideas for data structures or
algorithms to use?
- Have you considered alternative implementations? If so, how are they better
or worse than your proposal?