mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
Add #[cfg(debug_assertions)] to write_clif_file
This silences a warning in release mode
This commit is contained in:
parent
8de317dd8f
commit
92d4356130
@ -201,6 +201,7 @@ impl<'a, 'tcx, B: Backend + 'static> FunctionCx<'_, 'tcx, B> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
pub fn write_clif_file<'tcx>(
|
||||
tcx: TyCtxt<'tcx>,
|
||||
postfix: &str,
|
||||
|
Loading…
Reference in New Issue
Block a user