Skip to content
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

Cofigurate out ohos target's dependecies to avoid compilation crashes #238

Merged
merged 2 commits into from
Dec 22, 2024

Conversation

LuuuXXX
Copy link
Contributor

@LuuuXXX LuuuXXX commented Nov 21, 2024

I was trying to build ohos rustc targets. but blocked. It seems that perf-event-open-sys support is not good(#237 (comment)).
The new perf-event-open-sys2 supports this which is an actively maintained fork.

cc #237

@LuuuXXX
Copy link
Contributor Author

LuuuXXX commented Dec 16, 2024

@wesleywiser Is it convenient to review the PR?

@Mark-Simulacrum
Copy link
Member

Do these targets support perf counters? It looks like they're Linux systems and there's at least one x86_64 variant, but maybe we can just cfg out the dependency on this platform for now? That would unblock landing this without needing to consider a change in dependencies.

@LuuuXXX
Copy link
Contributor Author

LuuuXXX commented Dec 16, 2024

@Mark-Simulacrum thanks for review :)

Do these targets support perf counters?

yes supported.

but maybe we can just cfg out the dependency on this platform for now? That would unblock landing this without needing to consider a change in dependencies.

ok, it's also make sense.

@LuuuXXX LuuuXXX changed the title update perf-event-open-sys to perf-event-open-sys2 Cofigurate out ohos target's dependecies to avoid compilation crashes Dec 17, 2024
@Mark-Simulacrum Mark-Simulacrum merged commit 476f9b5 into rust-lang:master Dec 22, 2024
4 checks passed
@LuuuXXX
Copy link
Contributor Author

LuuuXXX commented Dec 23, 2024

Will there be a new version released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants