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 crate to be used with the stable compiler #10

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Conversation

dpaoliello
Copy link
Contributor

  • Make the _in functions optional based on the allocator_api feature.
  • Add the use_unstable_apis feature to disable other unstable API usage.
  • By default, the above features will be enabled.
  • Workaround the lack of a stable way to create TryReserveError using mem::transmute.
  • Workaround the lack of support for #[cfg] on generic parameters using macros.
  • Switched the CI build to use build.ps1.
  • Added tests for building with different feature combinations enabled, including with no features enabled without RUSTC_BOOTSTRAP set.

@dpaoliello dpaoliello requested a review from sivadeilra March 15, 2023 19:23
@dpaoliello dpaoliello merged commit a99eacc into main Mar 15, 2023
@dpaoliello dpaoliello deleted the stable branch March 15, 2023 21:34
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

Successfully merging this pull request may close these issues.

2 participants