From 7bfe8827103bf0300e3f42d0556963af5ac4de93 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 7 Jul 2020 17:21:28 +0800 Subject: [PATCH] eh_artiq: reduce verbosity --- src/runtime/src/eh_artiq.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/src/eh_artiq.rs b/src/runtime/src/eh_artiq.rs index 0acac2f..c681fae 100644 --- a/src/runtime/src/eh_artiq.rs +++ b/src/runtime/src/eh_artiq.rs @@ -16,7 +16,7 @@ use core::mem; use cslice::CSlice; use unwind as uw; use libc::{c_int, uintptr_t}; -use log::debug; +use log::trace; use dwarf::eh::{self, EHAction, EHContext}; @@ -198,7 +198,7 @@ pub unsafe extern fn raise(exception: *const Exception) -> ! { // Zing! The Exception<'a> to Exception<'static> transmute is not really sound in case // the exception is ever captured. Fortunately, they currently aren't, and we save // on the hassle of having to allocate exceptions somewhere except on stack. - debug!("Trying to raise exception"); + trace!("Trying to raise exception"); INFLIGHT.exception = Some(mem::transmute::>(*exception)); INFLIGHT.handled = false; @@ -219,7 +219,7 @@ pub unsafe extern fn raise(exception: *const Exception) -> ! { pub unsafe extern fn reraise() -> ! { use cslice::AsCSlice; - debug!("Re-raise"); + trace!("Re-raise"); // current implementation uses raise as _Unwind_Resume is not working now // would debug that later. match INFLIGHT.exception {