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

Remove the need for rust-mozjs to use unstable Rust features #18875

Merged
merged 12 commits into from Oct 16, 2017
Merged

Commits on Oct 16, 2017

  1. Remove unused feature flag

    SimonSapin committed Oct 16, 2017
  2. Give up on NonZeroUsize memory layout optimization with unstable feat…

    …ures.
    
    I’m not confident of the implications regarding variance, dropck, struct
    aliasing, etc. when this is extended to generic `*const T` and `*mut T`.
    
    Release builds should use `unstable` to enable other optimizations anyway.
    SimonSapin committed Oct 16, 2017
  3. Replace NonZeroU32 and NonZeroUsize with a generic NonZero

    The API is identical to core::nonzero::NonZero
    SimonSapin committed Oct 16, 2017
  4. Update rust-mozjs

    SimonSapin committed Oct 16, 2017
You can’t perform that action at this time.