Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performance model

Performance model built for PicoRio 2.0 is implemented with Python and Rust.

Set up Rust environment

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-src

Install VS Code extension Rust and set following configuration.

{
    "rust-client.channel": "stable",
    "rust-client.rustupPath": "~/.cargo/bin/rustup",
    "editor.formatOnSave": true,
}

Build Rust modules as dynamic link library

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/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages