From b889295e3126841a6a24675d3815bb4c96949d3c Mon Sep 17 00:00:00 2001 From: Tomas Krnak Date: Thu, 13 Oct 2022 11:07:19 +0200 Subject: [PATCH] fixup! Add `uninline-portable` feature --- src/fields/fp.rs | 2 +- src/fields/fq.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fields/fp.rs b/src/fields/fp.rs index 332598b..0c0028c 100644 --- a/src/fields/fp.rs +++ b/src/fields/fp.rs @@ -325,7 +325,7 @@ impl Fp { } #[allow(clippy::too_many_arguments)] - #[inline(always)] + #[cfg_attr(not(feature = "uninline-portable"), inline(always))] const fn montgomery_reduce( r0: u64, r1: u64, diff --git a/src/fields/fq.rs b/src/fields/fq.rs index c0296c4..4d80c69 100644 --- a/src/fields/fq.rs +++ b/src/fields/fq.rs @@ -325,7 +325,7 @@ impl Fq { } #[allow(clippy::too_many_arguments)] - #[inline(always)] + #[cfg_attr(not(feature = "uninline-portable"), inline(always))] const fn montgomery_reduce( r0: u64, r1: u64,