Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
go run -gcflags '-unused_pkgs' main.go isnt working #41258
What version of Go are you using (
That's not a supported option. Read that answer in full:
They changed the compiler code to add that option, it's not something that works on the official Go compiler.
Closing here since this is not a bug.