commit: fbb59a8a651ae791d652f3ccb47168713b9f3b72 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Tue May 31 22:03:38 2022 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Wed Jun 1 03:11:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb59a8a
dev-lang/rust: don't enable profiler for wasm targets Issue: https://github.com/rust-lang/rust/issues/81684 Closes: https://bugs.gentoo.org/848483 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-lang/rust/rust-1.60.0.ebuild | 2 ++ dev-lang/rust/rust-1.61.0-r1.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dev-lang/rust/rust-1.60.0.ebuild b/dev-lang/rust/rust-1.60.0.ebuild index 6a17f74e2327..384775480506 100644 --- a/dev-lang/rust/rust-1.60.0.ebuild +++ b/dev-lang/rust/rust-1.60.0.ebuild @@ -420,6 +420,8 @@ src_configure() { if use wasm; then cat <<- _EOF_ >> "${S}"/config.toml [target.wasm32-unknown-unknown] + # wasm target does not have profiler_builtins https://bugs.gentoo.org/848483 + profiler = false linker = "$(usex system-llvm lld rust-lld)" _EOF_ fi diff --git a/dev-lang/rust/rust-1.61.0-r1.ebuild b/dev-lang/rust/rust-1.61.0-r1.ebuild index 40bfa3387e3e..0d78a06e94e3 100644 --- a/dev-lang/rust/rust-1.61.0-r1.ebuild +++ b/dev-lang/rust/rust-1.61.0-r1.ebuild @@ -438,6 +438,8 @@ src_configure() { cat <<- _EOF_ >> "${S}"/config.toml [target.wasm32-unknown-unknown] linker = "$(usex system-llvm lld rust-lld)" + # wasm target does not have profiler_builtins https://bugs.gentoo.org/848483 + profiler = false _EOF_ fi
