Skip to content
Snippets Groups Projects
Commit d2f5588d authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix building of libstd

parent 0c6941af
No related branches found
No related tags found
No related merge requests found
build
cook.sh 0 → 100755
export RUST_TARGET_PATH=`realpath targets`
export RUSTFLAGS="--cfg redox"
TARGET=x86_64-unknown-redox
set -e
if [ -n "$1" ]
then
if [ -d "recipes/$1" ]
then
pushd "recipes/$1"
source recipe.sh
case "$2" in
build)
pushd build
xargo build --target "$TARGET"
popd
;;
clean)
pushd build
xargo clean
popd
;;
fetch)
git clone --recursive "$GIT" build
;;
unfetch)
rm -rf build
;;
update)
pushd build
xargo update
popd
;;
*)
echo "$0 {package} {build|clean|fetch|update}"
;;
esac
popd
else
echo "$0: recipe '$1' not found"
fi
else
echo "$0 {package} {build|clean|fetch|update}"
fi
GIT=https://github.com/redox-os/libstd.git
GIT=https://github.com/IGI-111/Smith.git
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment