Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatImproVR template

Change the package's name in Cargo.toml

It is very important to give your resources unique names! Pick a unique name for your plugin, ideally a long name, and assign it to name = "" in Cargo.toml. This way you can use the helpful pkg_namespace!() macro to assign public names to your resources!

Preparation

Make sure you have the wasm32-unknown-unknown target installed:

rustup target add wasm32-unknown-unknown

Building

Now you can use cargo build --release to build. Your plugin will show up under target/wasm32-unknown-unknown/release/<cool pkg name>.wasm.

Testing

Because .cargo/config.toml is set up to compile for the WASM target, tests will fail to run by default. You can compile and run tests using the provided test_pc alias:

cargo test_pc

About

Plugin template

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages