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

Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) #23984

Merged
merged 3 commits into from Aug 23, 2019
Merged

Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) #23984

merged 3 commits into from Aug 23, 2019

Commits on Aug 23, 2019

  1. Android glue: don’t zero-init non-null function pointers

    Fixes:
    
    ```rust
    error: the type `android_injected_glue::ffi::android_app` does not permit zero-initialization
       --> ports/libsimpleservo/jniapi/src/lib.rs:511:46
        |
    511 |     let mut app: ffi::android_app = unsafe { std::mem::zeroed() };
        |                                              ^^^^^^^^^^^^^^^^^^
        |                                              |
        |                                              this code causes undefined behavior when executed
        |                                              help: use `MaybeUninit<T>` instead
        |
        = note: `-D invalid-value` implied by `-D warnings`
    note: Function pointers must be non-null (in this struct field)
       --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/android_injected_glue-0.2.3/src/ffi.rs:23:5
        |
    23  |     pub onAppCmd: extern fn(*mut android_app, i32),
        |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    error: aborting due to previous error
    ```
    SimonSapin committed Aug 23, 2019
  2. Update mozjs to support new UWP rustc targets.

    jdm authored and SimonSapin committed Aug 23, 2019
You can’t perform that action at this time.