Add additional fields to bug report form
[no ci]
@@ -26,25 +26,82 @@ body:
description: >
Please provide a short summary of the bug, along with any information
you feel relevant to replicating the bug.
- value: |
- ```rust
- <code>
- ```
+ - type: textarea
+ attributes:
+ label: Toolchain version/configuration
+ description: >
+ Please provide the output of `rustup show`.
+ placeholder: |
+ Default host: x86_64-pc-windows-msvc
+ rustup home: C:\Users\Ferris\.rustup
+
+ installed toolchains
+ --------------------
+
+ stable-i686-pc-windows-gnu
+ stable-x86_64-pc-windows-gnu
+ stable-x86_64-pc-windows-msvc
+ nightly-i686-pc-windows-msvc
+ nightly-x86_64-pc-windows-gnu
+ nightly-x86_64-pc-windows-msvc (default)
+ 1.51-x86_64-pc-windows-msvc
+
+ installed targets for active toolchain
+ --------------------------------------
+
+ i686-pc-windows-gnu
+ i686-pc-windows-msvc
+ x86_64-pc-windows-gnu
+ x86_64-pc-windows-msvc
+
+ active toolchain
+ ----------------
+
+ nightly-x86_64-pc-windows-msvc (default)
+ rustc 1.60.0-nightly (a00e130da 2022-01-29)
+ - type: textarea
+ attributes:
+ label: Reproducible example
+ description: >
+ Please provide all code needed to reproduce the issue.
+ placeholder: |
+ use windows::Win32::UI::WindowsAndMessaging::{MessageBoxA, MB_OK};
+
+ fn main() {
+ unsafe {
+ MessageBoxA(None, "Hello", "World", MB_OK);
+ }
+ }
+ render: rust
+ - type: textarea
+ attributes:
+ label: Crate manifest
+ description: >
+ Please provide a crate manifest (`Cargo.toml`) that corresponds
+ to the reproducible example.
+ placeholder: |
+ # ...
+
+ [dependencies.windows]
+ version = "0.31.0"
+ features = [
+ "alloc",
+ "Win32_Foundation",
+ "Win32_UI_WindowsAndMessaging",
+ ]
+ render: toml
- type: textarea
attributes:
label: Expected behavior
description: "I expected to see this happen:"
- placeholder: "*explanation*"
- type: textarea
attributes:
label: Actual behavior
description: "Instead, this happened:"
- placeholder: "*explanation*"
- type: textarea
attributes:
label: Additional comments
description: Is there anything else you'd like to share?
- placeholder: "*additional comments*"
validations:
required: false
- type: markdown
