12abef4076
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.
7 lines
160 B
Makefile
7 lines
160 B
Makefile
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
|