-#!/bin/bash
+#!/usr/bin/env bash
set -e
-export RUSTFLAGS="-Zrun_dsymutil=no"
-
-./build.sh --without-sysroot $@
+./y.rs build --sysroot none "$@"
rm -r target/out || true
scripts/tests.sh no_sysroot
-./build.sh $@
+./y.rs build "$@"
scripts/tests.sh base_sysroot
scripts/tests.sh extended_sysroot