Skip to content

cmd/compile: a rebuild is needed when cgo static library is changed. #29293

@zigo101

Description

@zigo101

What version of Go are you using (go version)?

go version go1.11.3 linux/amd64

Does this issue reproduce with the latest release?

yes

What did you do?

My cgo project supports module.
The project depends on a c static library.
After a successful build, I updated the static library, then "go build" again.

What did you expect to see?

A rebuild to use the new static library.

What did you see instead?

I looks the "go build" is finished in half a second by using cache.
The new static library is not used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions