From 2a7937e2bac16e587882a0a26e6d5929ed81d700 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Sun, 31 Oct 2021 13:48:13 +0100 Subject: Add `odin report` command to help with bug reports. Add new Odin command, `odin report`, which prints information helpful to resolving or reporting a bug. ``` W:\Odin> odin report Where to find more information and get into contact when you encounter a bug: Website: https://odin-lang.org GitHub: https://github.com/odin-lang/Odin/issues Useful information to add to a bug report: Odin: dev-2021-10:256bebfe OS: Windows 10 Professional (version: 20H2), build 19042.1266 CPU: AMD Ryzen 7 1800X Eight-Core Processor RAM: 65469 MiB W:\Odin> TODO: - CPU name on ARM/ARM64 ``` --- src/build_settings.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/build_settings.cpp') diff --git a/src/build_settings.cpp b/src/build_settings.cpp index 69e1ec5f0..830e34ac3 100644 --- a/src/build_settings.cpp +++ b/src/build_settings.cpp @@ -113,15 +113,16 @@ enum BuildModeKind { }; enum CommandKind : u32 { - Command_run = 1<<0, - Command_build = 1<<1, - Command_check = 1<<3, - Command_query = 1<<4, - Command_doc = 1<<5, - Command_version = 1<<6, - Command_test = 1<<7, + Command_run = 1<<0, + Command_build = 1<<1, + Command_check = 1<<3, + Command_query = 1<<4, + Command_doc = 1<<5, + Command_version = 1<<6, + Command_test = 1<<7, Command_strip_semicolon = 1<<8, + Command_bug_report = 1<<9, Command__does_check = Command_run|Command_build|Command_check|Command_query|Command_doc|Command_test|Command_strip_semicolon, Command__does_build = Command_run|Command_build|Command_test, -- cgit v1.2.3