From f706c3c8f75f8ff1cffea562ac4df6b8b5c9dcd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Sun, 15 Jan 2023 03:33:52 +0000 Subject: Include both md and yaml ICE ticket templates * Existing compilers link to the md version * The YAML version field for the backtrace *doesn't let us paste a full backtrace* * We will need the YAML version in order to be able to submit reports once we start storing the backtrace to disk --- .github/ISSUE_TEMPLATE/ice.md | 49 +++++++++++++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/ice.yaml | 6 ++--- 2 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/ice.md (limited to '.github') diff --git a/.github/ISSUE_TEMPLATE/ice.md b/.github/ISSUE_TEMPLATE/ice.md new file mode 100644 index 00000000000..2afcd210a6e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/ice.md @@ -0,0 +1,49 @@ +--- +name: Internal Compiler Error +about: Create a report for an internal compiler error in rustc. +labels: C-bug, I-ICE, T-compiler +--- + + +### Code + +```Rust + +``` + + +### Meta + + +`rustc --version --verbose`: +``` + +``` + +### Error output + +``` + +``` + + +
Backtrace +

+ +``` + +``` + +

+
diff --git a/.github/ISSUE_TEMPLATE/ice.yaml b/.github/ISSUE_TEMPLATE/ice.yaml index 54136cc6d43..8d25bb41c08 100644 --- a/.github/ISSUE_TEMPLATE/ice.yaml +++ b/.github/ISSUE_TEMPLATE/ice.yaml @@ -1,5 +1,5 @@ -name: Internal Compiler Error -description: Create a report for an internal compiler error in `rustc` +name: Internal Compiler Error (Structured form) +description: For now, you'll want to use the other ICE template, as GitHub forms have strict limits on the size of fields so backtraces cannot be pasted directly. labels: ["C-bug", "I-ICE", "T-compiler"] title: "[ICE]: " body: @@ -79,4 +79,4 @@ body: label: Anything else? description: If you have more details you want to give us to reproduce this issue, please add it here validations: - required: false \ No newline at end of file + required: false -- cgit v1.2.1