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

Enable unwinding in userspace #1098

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Enable unwinding in userspace #1098

wants to merge 6 commits into from

Conversation

tamird
Copy link
Member

@tamird tamird commented Nov 26, 2024

See individual commits.


This change is Reviewable

Copy link

netlify bot commented Nov 26, 2024

👷 Deploy Preview for aya-rs-docs processing.

Name Link
🔨 Latest commit ed963b2
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs-docs/deploys/67488a6d9549c30007111a62

@mergify mergify bot added the test A PR that improves test cases or CI label Nov 26, 2024
@tamird tamird changed the title Move panic = "abort" to eBPF crate Enable unwinding in userspace Nov 26, 2024
@tamird tamird force-pushed the cleanup branch 17 times, most recently from acd80cf to 0887c71 Compare November 26, 2024 22:36
@mergify mergify bot added the aya-bpf This is about aya-bpf (kernel) label Nov 26, 2024
@tamird tamird force-pushed the cleanup branch 7 times, most recently from 5aefd0c to fc37b43 Compare November 27, 2024 16:13
Copy link

mergify bot commented Nov 27, 2024

@tamird, this pull request is now in conflict and requires a rebase.

The panic has been fixed.
The const-assert crate doesn't even compile with stable rust, so we
shouldn't depend on it. Instead we replicate its functionality behind
cfg(unstable) which is set at build time based on the toolchain in use.
Unwinding gives us more information, so we shouldn't disable it
globally. It is already disabled for BPF targets via the target configs
in rustc itself.

This complicates the clippy invocation somewhat, so put it in a shell
script for developer as well as CI use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya-bpf This is about aya-bpf (kernel) test A PR that improves test cases or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant