Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
[ci skip-rust]

[ci skip-build-wheels]
  • Loading branch information
Tom Dyas committed Sep 28, 2022
1 parent e40a14f commit 97c5c60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/python/pants/backend/go/util_rules/build_pkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ async def build_go_package(

cgo_compile_result: CGoCompileResult | None = None
if cgo_files:
# Check any assembly files contain gcc assembly, and not Go assembly
# Check if any assembly files contain gcc assembly, and not Go assembly. Raise an exception if any are
# likely in Go format since in cgo packages, assembly files are passed to gcc and must be in gcc format.
if s_files and await _any_file_is_golang_assembly(
request.digest, request.dir_path, s_files
):
Expand Down

0 comments on commit 97c5c60

Please sign in to comment.