patch-go-tool-trace icon indicating copy to clipboard operation
patch-go-tool-trace copied to clipboard

patch golang 1.13, 1.14 tool trace for WebComponents V0 problem

  • About #+BEGIN_QUOTE HTML Imports is deprecated and has now been removed as of M80. See https://www.chromestatus.com/features/5144752345317376 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details. #+END_QUOTE

    [[https://github.com/golang/go/issues/34374][golang ISSUE #34374 : cmd/trace: requires HTML imports, which doesn't work on any major browser anymore]]

    +this repo implemented steps given by [[https://github.com/golang/go/issues/34374#issuecomment-583840806][stapelberg]]+

    this repo implemented steps given by [[https://github.com/golang/go/issues/34374#issuecomment-589022051][jpvillaseca]]

  • How to use

    #+BEGIN_SRC sh go get github.com/kumakichi/patch-go-tool-trace && patch-go-tool-trace #+END_SRC

    If you get error like:

    #+BEGIN_QUOTE err: open .../go/src/cmd/trace/trace.go: permission denied #+END_QUOTE

    run patch-go-tool-trace with sudo:

    #+BEGIN_SRC sh sudo patch-go-tool-trace #+END_SRC