From fa547cd70243710e90bf57377402cbbdf910efa3 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 20 Nov 2023 14:51:54 -0800 Subject: [PATCH] YJIT: Print a disasm path to stderr (#8967) YJIT: Print a perf map path to stderr --- yjit/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yjit/src/options.rs b/yjit/src/options.rs index ebd3bbbc0c..fc4ffc6409 100644 --- a/yjit/src/options.rs +++ b/yjit/src/options.rs @@ -232,7 +232,7 @@ pub fn parse_option(str_ptr: *const std::os::raw::c_char) -> Option<()> { directory => { let pid = std::process::id(); let path = format!("{directory}/yjit_{pid}.log"); - println!("YJIT disasm dump: {path}"); + eprintln!("YJIT disasm dump: {path}"); unsafe { OPTIONS.dump_disasm = Some(DumpDisasm::File(path)) } } },