mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-22 04:40:01 +00:00
build: upgrade Rust to 1.48.0 (#535)
This commit is contained in:
parent
eb0222ce08
commit
2d68950e7e
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -69,7 +69,7 @@ jobs:
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
components: clippy, rustfmt
|
||||
rust-version: 1.47.0
|
||||
rust-version: 1.48.0
|
||||
|
||||
- name: Install python
|
||||
uses: actions/setup-python@v1
|
||||
|
@ -1,13 +1,13 @@
|
||||
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
error[E0277]: the trait bound `OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
--> $DIR/handle_scope_escape_to_nowhere.rs:6:50
|
||||
|
|
||||
6 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
||||
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`
|
||||
| ^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|
||||
|
|
||||
= note: required by `rusty_v8::EscapableHandleScope::<'s, 'e>::new`
|
||||
= note: required by `EscapableHandleScope::<'s, 'e>::new`
|
||||
|
||||
error[E0277]: the trait bound `rusty_v8::OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
error[E0277]: the trait bound `OwnedIsolate: rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not satisfied
|
||||
--> $DIR/handle_scope_escape_to_nowhere.rs:6:20
|
||||
|
|
||||
6 | let mut _scope = v8::EscapableHandleScope::new(&mut isolate);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `rusty_v8::OwnedIsolate`
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `rusty_v8::scope::param::NewEscapableHandleScope<'_, '_>` is not implemented for `OwnedIsolate`
|
||||
|
@ -6,4 +6,4 @@ error[E0499]: cannot borrow `scope1` as mutable more than once at a time
|
||||
8 | let _local = v8::Integer::new(&mut scope1, 123);
|
||||
| ^^^^^^^^^^^ second mutable borrow occurs here
|
||||
9 | }
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::EscapableHandleScope`
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `EscapableHandleScope`
|
||||
|
@ -6,4 +6,4 @@ error[E0499]: cannot borrow `scope1` as mutable more than once at a time
|
||||
10 | v8::Integer::new(&mut scope1, 123)
|
||||
| ^^^^^^^^^^^ second mutable borrow occurs here
|
||||
11 | };
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `rusty_v8::EscapableHandleScope`
|
||||
| - first borrow might be used here, when `_scope2` is dropped and runs the `Drop` code for type `EscapableHandleScope`
|
||||
|
@ -4,5 +4,5 @@ error[E0308]: mismatched types
|
||||
7 | let _object = v8::Object::new(&mut scope);
|
||||
| ^^^^^^^^^^ expected struct `rusty_v8::Context`, found `()`
|
||||
|
|
||||
= note: expected mutable reference `&mut rusty_v8::HandleScope<'_>`
|
||||
found mutable reference `&mut rusty_v8::HandleScope<'_, ()>`
|
||||
= note: expected mutable reference `&mut HandleScope<'_>`
|
||||
found mutable reference `&mut HandleScope<'_, ()>`
|
||||
|
Loading…
Reference in New Issue
Block a user