0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-26 00:59:28 -05:00

build: upgrade Rust to 1.49.0 (#601)

This commit is contained in:
Ben Noordhuis 2021-02-07 23:49:07 +01:00 committed by GitHub
parent 5cf215e829
commit 8809068f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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) };
} }