Merge pull request #325 from janderholm/enable-profiler-runtime

rust.inc: Build the profiler runtime
This commit is contained in:
Cody Schafer
2021-03-28 15:05:51 -04:00
committed by GitHub

View File

@@ -451,6 +451,10 @@ python do_configure() {
rustc = d.expand("${WORKDIR}/rust-snapshot/bin/rustc")
config.set("build", "rustc", e(rustc))
# Support for the profiler runtime to generate e.g. coverage report,
# PGO etc.
config.set("build", "profiler", e(True))
cargo = d.expand("${WORKDIR}/rust-snapshot/bin/cargo")
config.set("build", "cargo", e(cargo))