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

Consider rewrite for stable rust #44

Open
iankronquist opened this issue Mar 17, 2018 · 2 comments
Open

Consider rewrite for stable rust #44

iankronquist opened this issue Mar 17, 2018 · 2 comments

Comments

@iankronquist
Copy link
Owner

Nightly rust is very unstable. The LLVM 6 update broke linking, right now it won't even compile.

I have a file with all the asm stubs & a C header, but we'd still need rust definitions which are slightly different than the current intrinsics.

We'd have to roll our own heap implementation & interface, and that may not work so well. However, we don't use a heap now, so maybe we just won't have one at all.

@iankronquist
Copy link
Owner Author

We use the following features which are not available with stable rust:

  1. lang_items -- this may change again, but we need a panic implementation.
  2. asm -- we may remove this in favor of the x86 crate
  3. abi_elfabi -- this will likely get stabilized as is considering its utility and small API surface. It's required by the uefi crate.

@iankronquist
Copy link
Owner Author

It looks like the lang items one might actually be stable.
I could get rid of the inline asm, but getting rid of the abi_eflabi unstable feature would be harder.

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

No branches or pull requests

1 participant