This repository contains code for simulating Airbus aircraft systems. Parts of this code have been merged into the FlyByWire Simulations a32nx project. I recommend contributing to that project directly whenever possible. I have by now copied a lot of the code in this repository to the A32NX project repository. This repository is merely here to be used when you want to program with the latest and greatest systems API.
For some thoughts on the design, refer to this contribution.
- Install the
wasm32-wasi
target by running:rustup target add wasm32-wasi
. - Install LLVM 11 which can be found here, ensure to add it to your PATH.
- Run
cargo build --target wasm32-wasi
in the console. - The
lib.rs
file is built astarget/wasm32-wasi/debug/a320.wasm
.