PGO with Go CGO

Apologize if this was discussed before. A cursory search did not reveal anything substantial.

I am trying to get PGO working for a Go -> Rust via CGO code flow. It requires access to the rust profile toolchain libraries, which I do provide using CGO_LDFLAGS, but for some reason it is now not able to find the Rust library changes. Go-based service app is calling methods in Rust via a compiled library.

If anyone has experience with doing this, that would be great!


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.