diff --git a/regex-capi/Cargo.toml b/regex-capi/Cargo.toml index b583d83f7..f4265577d 100644 --- a/regex-capi/Cargo.toml +++ b/regex-capi/Cargo.toml @@ -12,6 +12,7 @@ A C API for Rust's regular expression library. """ workspace = ".." edition = "2021" +rust-version = "1.65" [lib] name = "rure" diff --git a/regex-capi/src/macros.rs b/regex-capi/src/macros.rs index a716206ba..6de0b6827 100644 --- a/regex-capi/src/macros.rs +++ b/regex-capi/src/macros.rs @@ -18,7 +18,10 @@ macro_rules! ffi_fn { } else { "UNABLE TO SHOW RESULT OF PANIC.".to_owned() }; - let _ = writeln!(&mut io::stderr(), "panic unwind caught, aborting: {msg:?}"); + let _ = writeln!( + &mut io::stderr(), + "panic unwind caught, aborting: {msg:?}" + ); unsafe { abort() } } }