Skip to content

"zig run" pollutes debug output with unexpected messages "LLVM Emit Object... LLVM Emit Object... MachO Flush..." #19647

Closed
@obask

Description

@obask

Zig Version

0.12.0-dev.3644+05d975576

Steps to Reproduce and Observed Behavior

invoke "zig run" on any source file

Expected Behavior

According to "No hidden control flow" principle, it shouldn't output anything which is not a part of a program defined by user. Current approach is very confusing because it hides a first line of the debug output making it looks like the program had no output while it's simply hidden behind "LLVM Emit Object... LLVM Emit Object... MachO Flush..." string and forcing addition of std.debug.print("\n", .{}); to every program.

Screenshot 2024-04-13 at 7 45 24 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions