Performance model built for PicoRio 2.0 is implemented with Python and Rust.
Note: Multiple Rust extensions will be conflicting. Make sure you have uninstalled any other Rust extensions.
## Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
## Install Rust components
rustup install nightly
cargo +nightly install racer
cargo install --force rustfmt
cargo install --force rls
rustup component add rls-preview
rustup component add rust-analysis
rustup component add rust-srcInstall VS Code extension Rust and set following configuration.
{
"rust-client.channel": "stable",
"rust-client.rustupPath": "~/.cargo/bin/rustup",
"editor.formatOnSave": true,
}make build-[module-name]Available modules:
| Module name | Python wrapper | Path |
|---|---|---|
| elfparser | utils/elf_parser.py |
utils/elf-parser/ |
| decoder | utils/decoder_warpper.py |
utils/decoder/ |