Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

ntls-io/rtc-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTC-Data

Setting up rust

  1. Install rustup

  2. Set the default rust toolchain to the latest nightly supported by the rust-sgx-sdk

    Currently this is nightly-2020-10-25. So do rustup default nightly-2020-10-25

  3. Install the relevant rust tooling for you IDE/Text editor

    • VSCode: plugin on the marketplace I would recommend using rust-analyzer rather than rls. Check the plugin settings for more info
    • Jetbrains: Open source plugin for their IDEs
    • Other: For any editor with support for the language server protocol, I would recommend using rust analyzer. See the editor's LSP docs for info on how to install
  4. For debugging you can use gdb from the interactive shell of the docker environment

SGX Setup

For a dev environment, SGX does not need to be setup on the host machine. All building will happen inside of the docker container, and simulation mode should be fine for most cases. If you want to use the hardware capabilities you can install the SGX driver and pass through the device when starting the docker container.

Running the dev container

Use docker-compose run dev to start the dev container. This will put you in an interactive shell.

To run the application inside of the container, do cd rtc-data and then ./runall.sh

Helper scripts

Check, build, and test everything:

./all.sh

Run tests :

./runtests.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •