Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) #23984
Conversation
highfive
commented
Aug 16, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
Aug 16, 2019
|
Needs a |
|
@bors-servo r=jdm |
|
|
|
|
|
@bors-servo r=jdm |
|
|
Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23984) <!-- Reviewable:end -->
|
|
|
Needs a |
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
```
|
@bors-servo r=jdm |
|
|
Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23984) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23984) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
SimonSapin commentedAug 16, 2019
•
edited
This change is