File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -437,14 +437,13 @@ def _go_binary_kwargs(go_cc_aspects = []):
437437 </ul>
438438 """ ,
439439 ),
440- "pgoprofile" : attr .label (
441- allow_files = True ,
440+ "pgoprofile" : attr .string (
442441 doc = """Provides a pprof file to be used for profile guided optimization when compiling go targets.
443442 A pprof file can also be provided via `--@io_bazel_rules_go//go/config:pgoprofile=<label of a pprof file>`.
444443 Profile guided optimization is only supported on go 1.20+.
445444 See https://go.dev/doc/pgo for more information.
446445 """ ,
447- default = "//go/config:empty " ,
446+ default = "auto " ,
448447 ),
449448 "_go_context_data" : attr .label (default = "//:go_context_data" , cfg = go_transition ),
450449 "_allowlist_function_transition" : attr .label (
You can’t perform that action at this time.
0 commit comments