Skip to contents

Compiling Bascet

Bascet is located in a separate Github repository.

First install Rust from rust-lang.org:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then download bascet

git clone https://github.com/henriksson-lab/bascet.git

and install what is needed for a nightly build:

cd bascet
make install_rust  #this will install rust nightly build -- only need to do this once

To compile Bascet, you just run “make” whenever you make a change:

You have to make a release build before using Bascet from Zorn. Note if you are editing the source code: Zorn will not ensure that it is recompiled when you run it! Rerun whenever needed

make

Editing the Bascet code

To modify the code, we recommend VSCode and in particular, install the rust code extensions.

This setup enables you to see compile errors and get hints while coding!