redox/config.sh
Ian Douglas Scott 628751b8d3
Set $XARGO_HOME to build std et al only once
I don't know what logic (if any) we need to add to handle updates to Rust
2017-06-13 18:07:38 -07:00

12 lines
240 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# Configuration
export TARGET=x86_64-unknown-redox
# Automatic variables
ROOT="$(cd `dirname "$0"` && pwd)"
REPO="$ROOT/repo/$TARGET"
export CC="$ROOT/libc-artifacts/gcc.sh"
export XARGO_HOME="$ROOT/xargo-home"