Skip to content

Commit cdac947

Browse files
Yashinde145g-scott-murray
authored andcommitted
rust: Revert PGO to it's default
The rust profiler PGO (Profile-guided Optimization) options was disabled as a part rustdoc reproducibility fix. https://git.yoctoproject.org/poky/commit/meta/recipes-devtools/rust?id=321aebfa281bd28e368c684ece57867f6bd0cbe7 But, other applications (such as to build chromium with poky) requires PGO enabled (OSSystems/meta-browser#786). For reproducibility issue fix only "rust-demangler" change is sufficient in commit#321aebfa281. The PGO is reverted to it's default. Signed-off-by: Yash Shinde <[email protected]> Signed-off-by: Richard Purdie <[email protected]> Signed-off-by: Jose Quaresma <[email protected]> (adapted from oe-core commit 83bd5e12e069a60a870a7c7ed046a2827eb777a1) Signed-off-by: Scott Murray <[email protected]>
1 parent 199dd77 commit cdac947

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

recipes-devtools/rust/rust_1.75.0.bb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,6 @@ python do_configure() {
146146
rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc")
147147
config.set("build", "rustc", e(rustc))
148148

149-
# Support for the profiler runtime to generate e.g. coverage report,
150-
# PGO etc.
151-
config.set("build", "profiler", e(False))
152-
153149
cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo")
154150
config.set("build", "cargo", e(cargo))
155151

0 commit comments

Comments
 (0)