From 61f07723bb2f857a27994c6d1f04576cd74ca700 Mon Sep 17 00:00:00 2001 From: Koutheir Attouchi Date: Sat, 10 Feb 2024 12:14:24 -0500 Subject: [PATCH] More helpful message when libc is not found. --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 78b583b..03e99cf 100755 --- a/src/errors.rs +++ b/src/errors.rs @@ -57,7 +57,7 @@ pub enum Error { #[error("binary format '{format}' of file '{path}' is recognized but unsupported")] UnsupportedBinaryFormat { format: String, path: PathBuf }, - #[error("dependent C runtime library is not recognized")] + #[error("dependent C runtime library is not recognized. Consider specifying --sysroot, --libc or --libc-spec")] UnrecognizedNeededLibC, #[error("dependent C runtime library '{0}' was not found")]