@@ -672,7 +672,6 @@ pub fn initialize_mint(
672672}
673673
674674/// Create a `UpdateMint` instruction
675- #[ cfg( not( target_os = "solana" ) ) ]
676675pub fn update_mint (
677676 token_program_id : & Pubkey ,
678677 mint : & Pubkey ,
@@ -705,7 +704,6 @@ pub fn update_mint(
705704///
706705/// This instruction is suitable for use with a cross-program `invoke`
707706#[ allow( clippy:: too_many_arguments) ]
708- #[ cfg( not( target_os = "solana" ) ) ]
709707pub fn inner_configure_account (
710708 token_program_id : & Pubkey ,
711709 token_account : & Pubkey ,
@@ -761,7 +759,6 @@ pub fn inner_configure_account(
761759
762760/// Create a `ConfigureAccount` instruction
763761#[ allow( clippy:: too_many_arguments) ]
764- #[ cfg( not( target_os = "solana" ) ) ]
765762pub fn configure_account (
766763 token_program_id : & Pubkey ,
767764 token_account : & Pubkey ,
@@ -808,7 +805,6 @@ pub fn configure_account(
808805}
809806
810807/// Create an `ApproveAccount` instruction
811- #[ cfg( not( target_os = "solana" ) ) ]
812808pub fn approve_account (
813809 token_program_id : & Pubkey ,
814810 account_to_approve : & Pubkey ,
@@ -837,7 +833,6 @@ pub fn approve_account(
837833/// Create an inner `EmptyAccount` instruction
838834///
839835/// This instruction is suitable for use with a cross-program `invoke`
840- #[ cfg( not( target_os = "solana" ) ) ]
841836pub fn inner_empty_account (
842837 token_program_id : & Pubkey ,
843838 token_account : & Pubkey ,
@@ -883,7 +878,6 @@ pub fn inner_empty_account(
883878}
884879
885880/// Create a `EmptyAccount` instruction
886- #[ cfg( not( target_os = "solana" ) ) ]
887881pub fn empty_account (
888882 token_program_id : & Pubkey ,
889883 token_account : & Pubkey ,
@@ -925,7 +919,6 @@ pub fn empty_account(
925919
926920/// Create a `Deposit` instruction
927921#[ allow( clippy:: too_many_arguments) ]
928- #[ cfg( not( target_os = "solana" ) ) ]
929922pub fn deposit (
930923 token_program_id : & Pubkey ,
931924 token_account : & Pubkey ,
@@ -962,7 +955,6 @@ pub fn deposit(
962955///
963956/// This instruction is suitable for use with a cross-program `invoke`
964957#[ allow( clippy:: too_many_arguments) ]
965- #[ cfg( not( target_os = "solana" ) ) ]
966958pub fn inner_withdraw (
967959 token_program_id : & Pubkey ,
968960 token_account : & Pubkey ,
@@ -1041,7 +1033,6 @@ pub fn inner_withdraw(
10411033
10421034/// Create a `Withdraw` instruction
10431035#[ allow( clippy:: too_many_arguments) ]
1044- #[ cfg( not( target_os = "solana" ) ) ]
10451036pub fn withdraw (
10461037 token_program_id : & Pubkey ,
10471038 token_account : & Pubkey ,
@@ -1114,7 +1105,6 @@ pub fn withdraw(
11141105///
11151106/// This instruction is suitable for use with a cross-program `invoke`
11161107#[ allow( clippy:: too_many_arguments) ]
1117- #[ cfg( not( target_os = "solana" ) ) ]
11181108pub fn inner_transfer (
11191109 token_program_id : & Pubkey ,
11201110 source_token_account : & Pubkey ,
@@ -1210,7 +1200,6 @@ pub fn inner_transfer(
12101200
12111201/// Create a `Transfer` instruction
12121202#[ allow( clippy:: too_many_arguments) ]
1213- #[ cfg( not( target_os = "solana" ) ) ]
12141203pub fn transfer (
12151204 token_program_id : & Pubkey ,
12161205 source_token_account : & Pubkey ,
@@ -1306,7 +1295,6 @@ pub fn transfer(
13061295/// Create a inner `ApplyPendingBalance` instruction
13071296///
13081297/// This instruction is suitable for use with a cross-program `invoke`
1309- #[ cfg( not( target_os = "solana" ) ) ]
13101298pub fn inner_apply_pending_balance (
13111299 token_program_id : & Pubkey ,
13121300 token_account : & Pubkey ,
@@ -1338,7 +1326,6 @@ pub fn inner_apply_pending_balance(
13381326}
13391327
13401328/// Create a `ApplyPendingBalance` instruction
1341- #[ cfg( not( target_os = "solana" ) ) ]
13421329pub fn apply_pending_balance (
13431330 token_program_id : & Pubkey ,
13441331 token_account : & Pubkey ,
@@ -1357,7 +1344,6 @@ pub fn apply_pending_balance(
13571344 ) // calls check_program_account
13581345}
13591346
1360- #[ cfg( not( target_os = "solana" ) ) ]
13611347fn enable_or_disable_balance_credits (
13621348 instruction : ConfidentialTransferInstruction ,
13631349 token_program_id : & Pubkey ,
@@ -1385,7 +1371,6 @@ fn enable_or_disable_balance_credits(
13851371}
13861372
13871373/// Create a `EnableConfidentialCredits` instruction
1388- #[ cfg( not( target_os = "solana" ) ) ]
13891374pub fn enable_confidential_credits (
13901375 token_program_id : & Pubkey ,
13911376 token_account : & Pubkey ,
@@ -1402,7 +1387,6 @@ pub fn enable_confidential_credits(
14021387}
14031388
14041389/// Create a `DisableConfidentialCredits` instruction
1405- #[ cfg( not( target_os = "solana" ) ) ]
14061390pub fn disable_confidential_credits (
14071391 token_program_id : & Pubkey ,
14081392 token_account : & Pubkey ,
@@ -1419,7 +1403,6 @@ pub fn disable_confidential_credits(
14191403}
14201404
14211405/// Create a `EnableNonConfidentialCredits` instruction
1422- #[ cfg( not( target_os = "solana" ) ) ]
14231406pub fn enable_non_confidential_credits (
14241407 token_program_id : & Pubkey ,
14251408 token_account : & Pubkey ,
@@ -1436,7 +1419,6 @@ pub fn enable_non_confidential_credits(
14361419}
14371420
14381421/// Create a `DisableNonConfidentialCredits` instruction
1439- #[ cfg( not( target_os = "solana" ) ) ]
14401422pub fn disable_non_confidential_credits (
14411423 token_program_id : & Pubkey ,
14421424 token_account : & Pubkey ,
0 commit comments