I need this change to build "github.com/rcrowley/go-metrics" as a dependency of my program.
compiler/natives: add missing runtime/pprof.Profile methods
This package is documented as not supported, so it's fine to have an empty implementation.
We already have WriteTo method, so supporting the rest seems okay to me.
Unrelated question: I also need "os/user", would you support adding a noop implementation to gopherjs? Right now packages that need "os/user" can't be compiled because it needs cgo.
What are you doing that needs os/user? Is it an option to not use it via build tags?
LGTM, thanks for contributing.