forked from StudioInfinity/dyna3
Trial a Rust engine powering a Civet interface
Write a basic web app with a Rust engine, compiled to WebAssembly, powering a Civet interface. Do linear algebra in the engine using the `nalgebra` crate.
This commit is contained in:
parent
d7dbee4c05
commit
12abef4076
8 changed files with 287 additions and 0 deletions
6
lang-trials/rust/Makefile
Normal file
6
lang-trials/rust/Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
app.js: app.civet pkg/engine_bg.wasm
|
||||
civet --typecheck app.civet
|
||||
civet --js -c app.civet -o .js
|
||||
|
||||
pkg/engine_bg.wasm: src/lib.rs
|
||||
wasm-pack build --target web
|
Loading…
Add table
Add a link
Reference in a new issue