Skip to content

Commit

Permalink
add baseline in crash report (oven-sh#8606)
Browse files Browse the repository at this point in the history
  • Loading branch information
paperclover authored and Hanaasagi committed Feb 3, 2024
1 parent d7c38ac commit fabaaf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bun.js/WebKit
Submodule WebKit updated 5895 files
4 changes: 3 additions & 1 deletion src/report.zig
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ pub fn printMetadata() void {

const analytics_platform = Platform.forOS();

const maybe_baseline = if (Environment.baseline) " (baseline)" else "";

crash_report_writer.print(
\\
\\<r>----- bun meta -----
++ "\nBun v" ++ Global.package_json_version_with_sha ++ " " ++ platform ++ " " ++ arch ++ " {s}\n" ++
++ "\nBun v" ++ Global.package_json_version_with_sha ++ " " ++ platform ++ " " ++ arch ++ maybe_baseline ++ " {s}\n" ++
\\{s}: {}
\\
, .{
Expand Down

0 comments on commit fabaaf3

Please sign in to comment.