dyna3/lang-trials/rust/Makefile
Aaron Fenyes 12abef4076 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.
2024-07-28 21:10:04 -07:00

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