From ee447468c6070a8548a2ad6366ae6ebb28a3e3d2 Mon Sep 17 00:00:00 2001 From: "Dongjia \"toka\" Zhang" Date: Sat, 16 Dec 2023 00:13:21 +0900 Subject: [PATCH] message (#1726) --- libafl_libfuzzer/build.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libafl_libfuzzer/build.rs b/libafl_libfuzzer/build.rs index a534820345..c3d4c9b770 100644 --- a/libafl_libfuzzer/build.rs +++ b/libafl_libfuzzer/build.rs @@ -75,7 +75,7 @@ fn main() { assert!( !command.status().map(|s| !s.success()).unwrap_or(true), - "Couldn't build runtime crate! Did you remember to use nightly?" + "Couldn't build runtime crate! Did you remember to use nightly? (`rustup default nightly` to install) Or, did you remember to install ucd-generate? (`cargo install ucd-generate` to install)" ); let mut lib_path = custom_lib_dir.join(std::env::var_os("TARGET").unwrap()); @@ -112,7 +112,7 @@ fn main() { assert!( !command.status().map(|s| !s.success()).unwrap_or(true), - "Couldn't link runtime crate! Do you have the llvm-tools component installed?" + "Couldn't link runtime crate! Do you have the llvm-tools component installed? (`rustup component add llvm-tools-preview` to install)" ); let mut child = Command::new(nm) @@ -145,7 +145,7 @@ fn main() { assert!( !child.wait().map(|s| !s.success()).unwrap_or(true), - "Couldn't link runtime crate! Do you have the llvm-tools component installed?" + "Couldn't link runtime crate! Do you have the llvm-tools component installed? (`rustup component add llvm-tools-preview` to install)" ); let mut command = Command::new(rust_objcopy); @@ -182,7 +182,7 @@ fn main() { assert!( !command.status().map(|s| !s.success()).unwrap_or(true), - "Couldn't rename allocators in the runtime crate! Do you have the llvm-tools component installed?" + "Couldn't rename allocators in the runtime crate! Do you have the llvm-tools component installed? (`rustup component add llvm-tools-preview` to install)" ); let mut command = Command::new(rust_ar);