Skip to content

Commit 0752a9b

Browse files
danielsntedinski
authored andcommitted
Add a hint for how to fix missing RMC library (rust-lang#712)
1 parent 3bf0b7b commit 0752a9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/rmc-rustc

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set_rmc_lib_path() {
4040
then
4141
echo "ERROR: Could not find RMC library."
4242
echo "Looked for: \"$REPO_DIR/target/*/librmc.rlib\""
43-
echo "Was RMC library successfully built first?"
43+
echo "Try running <RMC_ROOT>/scripts/setup/build_rmc_lib.sh"
4444
exit 1
4545
fi
4646
RMC_LIB_PATH=$(dirname ${RMC_LIB_CANDIDATES[0]})
@@ -51,7 +51,7 @@ set_rmc_lib_path() {
5151
then
5252
echo "ERROR: Could not find RMC library."
5353
echo "Looked for: \"${RMC_LIB_PATH}/deps/librmc_macros-*\""
54-
echo "Was RMC library successfully built first?"
54+
echo "Try running <RMC_ROOT>/scripts/setup/build_rmc_lib.sh"
5555
exit 1
5656
fi
5757
RMC_MACRO_LIB_PATH="${MACRO_LIB_CANDIDATE[0]}"

0 commit comments

Comments
 (0)