Add inline(always)
to function generated by macro
This commit is contained in:
parent
075084f772
commit
bd61b8fb3f
1 changed files with 1 additions and 0 deletions
|
@ -2179,6 +2179,7 @@ macro_rules! assert_unsafe_precondition {
|
|||
if cfg!(debug_assertions) {
|
||||
// allow non_snake_case to allow capturing const generics
|
||||
#[allow(non_snake_case)]
|
||||
#[inline(always)]
|
||||
fn runtime$(<$($tt)*>)?($($i:$ty),*) {
|
||||
if !$e {
|
||||
// abort instead of panicking to reduce impact on code size
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue