-
Notifications
You must be signed in to change notification settings - Fork 42
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
Become a Tier 2 Rust Target #6
Comments
What do we need to concretely do here? I guess that:
Regarding some previous concerns from @dave-tucker
We chatted a bit with Josh Triplett on LPC, he said that BTF and disabling debug info in bpf-linker is not an issue and shouldn't be an obstacle in getting to Tier 2.
I think it should live here: https://doc.rust-lang.org/rustc/platform-support.html like i.e. https://doc.rust-lang.org/rustc/platform-support/wasm64-unknown-unknown.html and follow the template https://doc.rust-lang.org/rustc/platform-support/TEMPLATE.html
Is it still the case? |
Aya is getting more and more adoption the issue #250 highlighted the fact that mitmproxy is using Aya for their eBPF program. There will be more and more projects using Aya and distros wanting to package them. I think it's about time to reconsider becoming a Tier 2 target. To refresh the points from above:
Things to check:
Things to do:
Then I think the start of the process would be:
cc @mgorny |
Do we need a default panic handler that does anything more than |
OK, we don't, I skimmed through the tier 2 policy doc again and it doesn't have any specific requirements for panic handlers. |
Seeing as BPF has spent a few release cycles at Tier 3, we should think about Tier 2.
This is the policy for Tier 2 targets: https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html#tier-2-target-policy
Tier 3 checklist was here
✔️
That would be @alessandrod and @dave-tucker and anyone else who would like to volunteer
I think this is ok, since codegen is done in the linker. The only issue might be #1 since that will require the debug bitcode not to break LLVM's dwarf to btf conversion. Which may require LLVM and/or rustc patches.
I'm unclear where this documentation should live, but I think it's do-able
This is going to require a lot of work 🤔 We'll need to create an issue to track exactly what we can and can't support here and make sure it gets folded in to the documentation above.
This is also going to require some research, especially as integer overflow checks in the debug profile upset the eBPF verifier.
Yup, I guess we'd need to implement that too.
✔️
✔️
✔️
✔️
The text was updated successfully, but these errors were encountered: