wasmerio / wasmer-rust-example

Example of WebAssembly embedding in Rust using Wasmer
https://wasmerio.github.io/wasmer/rust/wasmer_runtime/
162 stars 24 forks source link

wasmer version 0.17.1 #14

Open kalwalt opened 3 years ago

kalwalt commented 3 years ago

Wasmer Upgrade to v. 0.17.1. I tested with the new version and i don't see any issue. See the log of cargo build and cargo run:

walter@localhost:~/kalwalt-github/wasmer-rust-example> cargo build
    Updating crates.io index
  Downloaded crypto-mac v0.8.0
  Downloaded libc v0.2.89
  Downloaded subtle v2.4.0
  Downloaded generic-array v0.14.3
  Downloaded blake3 v0.3.7
  Downloaded wasmer-clif-backend v0.17.1
  Downloaded wasmer-runtime v0.17.1
  Downloaded wasmer-runtime-core v0.17.1
  Downloaded 8 crates (879.1 KB) in 1.95s
   Compiling libc v0.2.89
   Compiling version_check v0.9.2
   Compiling subtle v2.4.0
   Compiling blake3 v0.3.7
   Compiling digest v0.8.1
   Compiling generic-array v0.14.3
   Compiling digest v0.9.0
   Compiling crypto-mac v0.8.0
   Compiling parking_lot_core v0.7.0
   Compiling num_cpus v1.12.0
   Compiling nix v0.15.0
   Compiling page_size v0.4.2
   Compiling errno v0.2.4
   Compiling memmap v0.7.0
   Compiling wasmer-runtime-core v0.17.1
   Compiling rayon-core v1.7.0
   Compiling parking_lot v0.10.0
   Compiling rayon v1.3.0
   Compiling wasmer-clif-backend v0.17.1
   Compiling wasmer-runtime v0.17.1
   Compiling rust_embedder_app v0.4.0 (/home/walter/kalwalt-github/wasmer-rust-example)
    Finished dev [unoptimized + debuginfo] target(s) in 16.50s
walter@localhost:~/kalwalt-github/wasmer-rust-example> cargo run
    Finished dev [unoptimized + debuginfo] target(s) in 0.03s
     Running `target/debug/rust_embedder_app`
Hello, World!
0: Hello, World!
2: Hello, World!