From 03d10a19079b58fd4068b9322a6343762f84b345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Bourdeauducq?= Date: Wed, 11 Sep 2024 15:32:32 +0800 Subject: [PATCH] cleanup --- src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 883f92c..7443252 100644 --- a/src/main.rs +++ b/src/main.rs @@ -185,7 +185,6 @@ fn compile(code: &String, run_symbol: &String, output_filename: &Path) -> Result // Private all functions except "run" let mut function_iter = main.get_first_function(); while let Some(func) = function_iter { - println!("{}", func.get_name().to_str().unwrap()); if func.count_basic_blocks() > 0 && func.get_name().to_str().unwrap() != run_symbol { func.set_linkage(inkwell::module::Linkage::Private); }