diff --git a/builtins-default-costs/src/lib.rs b/builtins-default-costs/src/lib.rs index 67ccbc254cd7af..2653deb7a9cc72 100644 --- a/builtins-default-costs/src/lib.rs +++ b/builtins-default-costs/src/lib.rs @@ -53,6 +53,7 @@ impl BuiltinCost { } } + #[cfg(feature = "svm-internal")] fn core_bpf_migration_feature(&self) -> Option<&Pubkey> { match self { BuiltinCost::Migrating(MigratingBuiltinCost { @@ -63,6 +64,7 @@ impl BuiltinCost { } } + #[cfg(feature = "svm-internal")] fn position(&self) -> Option { match self { BuiltinCost::Migrating(MigratingBuiltinCost { position, .. }) => Some(*position),