docs.rs failed to build ppapi-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Rusted Pepper
Rust idiomatic bindings to the Pepper API. This API is experimental. Expect it to change somewhat.
Build
You'll need to build and install the PNaCl/NaCl Rust fork first. Then run:
Lastly, run:
And profit!
Don't run build.sh
. It is used to update FFI bindings.
Getting Started
Taken from pnacl-hello-world:
extern crate ppapi;
use HashMap;
// Called when an instance is created.
// This is called from a new task. It is perfectly "safe" to panic!() here, or in
// any callback (though it will result in instance termination).
pub extern
pub extern
Pepper.js
Unsupported due to rust-ppapi's use of threads.