-
Notifications
You must be signed in to change notification settings - Fork 11
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
Document compatible target? #27
Comments
Below is unrelated to issue addressed above ( Slightly off-topic, but might have some relevance. I noticed
|
Yes, Eyra works by implementing the existing C ABIs. Currently it's only compatible with "-gnu" ABIs. There's no fundamental reason "-musl" ABIs couldn't be supported, it just hasn't been implemented yet. It's an interesting question whether that's worth implementing; Eyra doesn't use any of the glibc or musl libraries itself, so the choice of target doesn't matter that much to Eyra. And yes, thanks for pointing out that that's not documented in the README.md; I've now posted #28.
I needed to add
Eyra itself doesn't provide a panic handler; Eyra depends on libraries that depend on Eyra previously didn't support That said, this no-std mode doesn't currently support
Eyra doesn't have this limitation. It can statically link without depending on system NSS libraries. It resolves NSS queries by invoking the |
Thanks for the great response and PRs to address feedback! ❤️ No pressure to read what follows and reply, it is mostly additional information to benefit myself and any future readers.
Ah ok, so nightly either way. I had found the same fix last night but for the
Might have been a typo on your end, but It will build a functional binary without that arg present though 👍
|
) * Mention that Eyra currently requires a `*-gnu` target in README.md. See #27. * Update README.md Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
Thanks for the detailed report! The questions here seem answered, so I'll close this now, though feel free to reopen or file new issues if there's anything to add here. |
I am used to building with the
*-musl
target, but noticed thateyra
is not compatible (default hello world example generated fromcargo init
).--target
:x86_64-unknown-linux-gnu
x86_64-unknown-linux-musl
I know the README clarifies the support constraints to linux, but doesn't highlight the
-gnu
vs-musl
target compatibility? I didn't think it would matter witheyra
?Might be worthwhile to convey that incompatibility in the README too?
Reproduction
Some error messages from
-musl
target attempt:Potentially related to?:
libc
crate musl compatibility (may be resolved forlibc 0.3
release)-C link-arg=-nostartfiles
on musl targetThe text was updated successfully, but these errors were encountered: