From e61b1070729cf247b3d0d86225f7984a04cf72a1 Mon Sep 17 00:00:00 2001 From: umarcor Date: Mon, 28 Dec 2020 04:30:57 +0100 Subject: [PATCH] plugin: enhance no-plugin error --- passes/cmds/plugin.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/passes/cmds/plugin.cc b/passes/cmds/plugin.cc index 3ed19497d..a94769bcd 100644 --- a/passes/cmds/plugin.cc +++ b/passes/cmds/plugin.cc @@ -93,7 +93,11 @@ void load_plugin(std::string filename, std::vector aliases) #else void load_plugin(std::string, std::vector) { - log_error("This version of yosys is built without plugin support.\n"); + log_error( + "\n This version of Yosys cannot load plugins at runtime.\n" + " Some plugins may have been included at build time.\n" + " Use option `-H' to see the available built-in and plugin commands.\n" + ); } #endif