-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Clean up runtime exports #1683
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
Comments
Agreed. I'd also vaguely like to rename the term |
While we're changing |
has a word been chosen yet? I could clean this up |
No, a word has not been chosen. In the interest of making a nice embedding API I think the naming we should use is:
@graydon what's the new word for 'upcall'? |
Though |
This only affects libs, so is not a backwards-compatibility issue. Renominating for feature-complete. Most of this will become irrelevant with the new runtime, and the rust runtime's internal interface to C library functions can probably be unstandardized. But we might still want to think about the rust interface to the rest of the stdlib. |
just a bug, removing milestone/nomination. |
See also #3922 |
The old runtime support is being removed, so cleaning it up isn't necessary anymore. |
) Add a new module reachability which implements the reachability algorithm. Add the end to end logic for the reachability starting from all the harnesses in the target crate. ## Resolved issues: Resolves rust-lang#1672 ## Related RFC: rust-lang#1588 ## Call-outs: We still need to build the custom sysroot in order to fix the missing functions issue. I added a mechanism to run the regression tests using the MIR linker inside compiletest. I ran the regression manually (with the mir_linker enabled) the only tests that didn't pass were: cargo-kani/asm/global_error/doesnt_call_crate_with_global_asm.expected: The global assembly is out of the scope so it doesn't get processed. If we want to keep that behavior, we will have to inspect all items manually. cargo-kani/cargo-tests-dir/expected: This might be a legit issue that I need to fix on kani-driver logic. cargo-ui/dry-run/expected: Not an issue (arguments to the compiler changes).
Right now the interface presented by the runtime is very sloppy. There should basically be three categories of function:
rust_*
- runtime services for use by core/stdupcall_*
- runtime services for use by the compilerrust_client_*
- runtime services for use by external C libraries (these don't exist yet Create and export rust C API from the runtime #1682)The text was updated successfully, but these errors were encountered: