chore: upgrade to Rust 1.57.0 (#12968)

This commit is contained in:
Bartek Iwańczuk 2021-12-04 14:19:06 +01:00 committed by GitHub
parent 72e9720e91
commit c59f90d01f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 35 additions and 29 deletions

View file

@ -34,7 +34,10 @@ fn main() {
let v = exec(scope, "({a: 1, b: 3, c: 'ignored'})");
let mop: MathOp = serde_v8::from_v8(scope, v).unwrap();
println!("mop = {:?}", mop);
println!(
"mop = {{ a: {}, b: {}, operator: {:?} }}",
mop.a, mop.b, mop.operator
);
let v = exec(scope, "[1,2,3,4,5]");
let arr: Vec<u64> = serde_v8::from_v8(scope, v).unwrap();