-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code coverage and profiling don't work on non-X86_64 -musl targets because profiler_builtins
isn't provided for them
#79556
Comments
This comment has been minimized.
This comment has been minimized.
I have the same problem for target aarch64-unknown-linux-musl. |
I think there's not much stopping us from making a PR to rust-lang/rust that copies https://github.com/rust-lang/rust/pull/76035/files for the other musl targets. |
This might be harder than it sounds since only x86_64 musl target is natively built. Others are cross compiled from Linux GNU target. |
Ran into something similar to this after trying to test some code via |
你的邮件已收到了,有急事请电话联系。有时间我会给你详细回复.....
|
It definitely works for Fuchsia (Tier 2) since we use it there. But we also build our own toolchain. This is probably (at least in part) an issue with the way the official distribution for those targets is configured and built. |
https://github.com/rust-lang/rust/pull/111575/files added profiler support by just adding |
你的邮件已收到了,有急事请电话联系。有时间我会给你详细回复.....
|
@kobehz You definitely have your GitHub notifications configured incorrectly. Please make sure that you're not auto-replying to notification emails. |
profiler_builtins
for all Android targetsThis indicates to me that it should be practical to enable the profiler feature for
-musl
targets on ARM and Intel targets, and we should do so. At a minimum, the following very common targets should have the profiler feature enabled:The text was updated successfully, but these errors were encountered: