Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kruskall opened this issue Apr 9, 2025 · 1 comment
Open

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

kruskall opened this issue Apr 9, 2025 · 1 comment

Comments

@kruskall
Copy link

kruskall commented Apr 9, 2025

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.

Copy link

linear bot commented Apr 9, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant