mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-12-26 09:13:46 -05:00
build: upgrade Rust to 1.49.0 (#601)
This commit is contained in:
parent
5cf215e829
commit
8809068f01
2 changed files with 2 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -74,7 +74,7 @@ jobs:
|
||||||
uses: hecrj/setup-rust-action@v1
|
uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
components: clippy, rustfmt
|
components: clippy, rustfmt
|
||||||
rust-version: 1.48.0
|
rust-version: 1.49.0
|
||||||
|
|
||||||
- name: Install python
|
- name: Install python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
|
|
|
@ -121,7 +121,7 @@ impl SnapshotCreator {
|
||||||
/// Set the default context to be included in the snapshot blob.
|
/// Set the default context to be included in the snapshot blob.
|
||||||
/// The snapshot will not contain the global proxy, and we expect one or a
|
/// The snapshot will not contain the global proxy, and we expect one or a
|
||||||
/// global object template to create one, to be provided upon deserialization.
|
/// global object template to create one, to be provided upon deserialization.
|
||||||
pub fn set_default_context<'s>(&mut self, context: Local<'s, Context>) {
|
pub fn set_default_context(&mut self, context: Local<Context>) {
|
||||||
unsafe { v8__SnapshotCreator__SetDefaultContext(self, &*context) };
|
unsafe { v8__SnapshotCreator__SetDefaultContext(self, &*context) };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue