example and basic readme

This commit is contained in:
Robin Appelman 2020-08-26 01:02:24 +02:00
commit 6cd7bab5e5
8 changed files with 169 additions and 22 deletions

9
setenv Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# change this to the directory of where you built rustc for xtensa
CUSTOM_RUSTC=/home/mabez/development/rust/xtensa/rust-xtensa
export RUST_BACKTRACE=1
export XARGO_RUST_SRC=$CUSTOM_RUSTC/src
export RUSTC=$CUSTOM_RUSTC/build/x86_64-unknown-linux-gnu/stage2/bin/rustc