Skip to content
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

Build on darwin: move linux-specific tracer code to tracer_linux.go #53

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

KarolisL
Copy link
Contributor

No description provided.

@@ -1,3 +1,6 @@
//go:build linux
// +build linux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to have these 2 directives? won't just //go:build linux do the job? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Goland added both, but it seems that they're obsolete as of go1.18: https://stackoverflow.com/questions/68360688/whats-the-difference-between-gobuild-and-build-directives

Removed and TIL. Thanks!

@KarolisL KarolisL merged commit 67d64ce into main Aug 16, 2023
@KarolisL KarolisL deleted the darwin_build branch August 16, 2023 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants