Skip to content

RFC: Add a mode to not generate debug! statements, use by default for core/std #4397

Closed
@pcwalton

Description

@pcwalton

I just looked at the source for any pipes code and a huge amount of debug! stuff in the pipes code is getting monomorphized, inlined, and written into every single send and recv in all user code. I propose disabling generation of debug! by default; it's purely a hazard for core and std.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.I-slowIssue: Problems and improvements with respect to performance of generated code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions