Skip to content

x/net/trace causing DCE to be disabled #2188

@kruskall

Description

@kruskall

Describe the bug

x/net/trace import at

import "golang.org/x/net/trace"
is causing DCE (deadcode elimination) to be disabled for any app depending on this module

To Reproduce

Steps to reproduce the behavior:

  1. build badger or an app depending on badger
  2. DCE is disabled

Expected behavior

DCE is enabled

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

  • OS: [e.g. macOS, Windows, Ubuntu]
  • Language [e.g. AssemblyScript, Go]
  • Version [e.g. v0.xx]

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions