@@ -672,7 +672,6 @@ pub fn initialize_mint(
672
672
}
673
673
674
674
/// Create a `UpdateMint` instruction
675
- #[ cfg( not( target_os = "solana" ) ) ]
676
675
pub fn update_mint (
677
676
token_program_id : & Pubkey ,
678
677
mint : & Pubkey ,
@@ -705,7 +704,6 @@ pub fn update_mint(
705
704
///
706
705
/// This instruction is suitable for use with a cross-program `invoke`
707
706
#[ allow( clippy:: too_many_arguments) ]
708
- #[ cfg( not( target_os = "solana" ) ) ]
709
707
pub fn inner_configure_account (
710
708
token_program_id : & Pubkey ,
711
709
token_account : & Pubkey ,
@@ -761,7 +759,6 @@ pub fn inner_configure_account(
761
759
762
760
/// Create a `ConfigureAccount` instruction
763
761
#[ allow( clippy:: too_many_arguments) ]
764
- #[ cfg( not( target_os = "solana" ) ) ]
765
762
pub fn configure_account (
766
763
token_program_id : & Pubkey ,
767
764
token_account : & Pubkey ,
@@ -808,7 +805,6 @@ pub fn configure_account(
808
805
}
809
806
810
807
/// Create an `ApproveAccount` instruction
811
- #[ cfg( not( target_os = "solana" ) ) ]
812
808
pub fn approve_account (
813
809
token_program_id : & Pubkey ,
814
810
account_to_approve : & Pubkey ,
@@ -837,7 +833,6 @@ pub fn approve_account(
837
833
/// Create an inner `EmptyAccount` instruction
838
834
///
839
835
/// This instruction is suitable for use with a cross-program `invoke`
840
- #[ cfg( not( target_os = "solana" ) ) ]
841
836
pub fn inner_empty_account (
842
837
token_program_id : & Pubkey ,
843
838
token_account : & Pubkey ,
@@ -883,7 +878,6 @@ pub fn inner_empty_account(
883
878
}
884
879
885
880
/// Create a `EmptyAccount` instruction
886
- #[ cfg( not( target_os = "solana" ) ) ]
887
881
pub fn empty_account (
888
882
token_program_id : & Pubkey ,
889
883
token_account : & Pubkey ,
@@ -925,7 +919,6 @@ pub fn empty_account(
925
919
926
920
/// Create a `Deposit` instruction
927
921
#[ allow( clippy:: too_many_arguments) ]
928
- #[ cfg( not( target_os = "solana" ) ) ]
929
922
pub fn deposit (
930
923
token_program_id : & Pubkey ,
931
924
token_account : & Pubkey ,
@@ -962,7 +955,6 @@ pub fn deposit(
962
955
///
963
956
/// This instruction is suitable for use with a cross-program `invoke`
964
957
#[ allow( clippy:: too_many_arguments) ]
965
- #[ cfg( not( target_os = "solana" ) ) ]
966
958
pub fn inner_withdraw (
967
959
token_program_id : & Pubkey ,
968
960
token_account : & Pubkey ,
@@ -1041,7 +1033,6 @@ pub fn inner_withdraw(
1041
1033
1042
1034
/// Create a `Withdraw` instruction
1043
1035
#[ allow( clippy:: too_many_arguments) ]
1044
- #[ cfg( not( target_os = "solana" ) ) ]
1045
1036
pub fn withdraw (
1046
1037
token_program_id : & Pubkey ,
1047
1038
token_account : & Pubkey ,
@@ -1114,7 +1105,6 @@ pub fn withdraw(
1114
1105
///
1115
1106
/// This instruction is suitable for use with a cross-program `invoke`
1116
1107
#[ allow( clippy:: too_many_arguments) ]
1117
- #[ cfg( not( target_os = "solana" ) ) ]
1118
1108
pub fn inner_transfer (
1119
1109
token_program_id : & Pubkey ,
1120
1110
source_token_account : & Pubkey ,
@@ -1210,7 +1200,6 @@ pub fn inner_transfer(
1210
1200
1211
1201
/// Create a `Transfer` instruction
1212
1202
#[ allow( clippy:: too_many_arguments) ]
1213
- #[ cfg( not( target_os = "solana" ) ) ]
1214
1203
pub fn transfer (
1215
1204
token_program_id : & Pubkey ,
1216
1205
source_token_account : & Pubkey ,
@@ -1306,7 +1295,6 @@ pub fn transfer(
1306
1295
/// Create a inner `ApplyPendingBalance` instruction
1307
1296
///
1308
1297
/// This instruction is suitable for use with a cross-program `invoke`
1309
- #[ cfg( not( target_os = "solana" ) ) ]
1310
1298
pub fn inner_apply_pending_balance (
1311
1299
token_program_id : & Pubkey ,
1312
1300
token_account : & Pubkey ,
@@ -1338,7 +1326,6 @@ pub fn inner_apply_pending_balance(
1338
1326
}
1339
1327
1340
1328
/// Create a `ApplyPendingBalance` instruction
1341
- #[ cfg( not( target_os = "solana" ) ) ]
1342
1329
pub fn apply_pending_balance (
1343
1330
token_program_id : & Pubkey ,
1344
1331
token_account : & Pubkey ,
@@ -1357,7 +1344,6 @@ pub fn apply_pending_balance(
1357
1344
) // calls check_program_account
1358
1345
}
1359
1346
1360
- #[ cfg( not( target_os = "solana" ) ) ]
1361
1347
fn enable_or_disable_balance_credits (
1362
1348
instruction : ConfidentialTransferInstruction ,
1363
1349
token_program_id : & Pubkey ,
@@ -1385,7 +1371,6 @@ fn enable_or_disable_balance_credits(
1385
1371
}
1386
1372
1387
1373
/// Create a `EnableConfidentialCredits` instruction
1388
- #[ cfg( not( target_os = "solana" ) ) ]
1389
1374
pub fn enable_confidential_credits (
1390
1375
token_program_id : & Pubkey ,
1391
1376
token_account : & Pubkey ,
@@ -1402,7 +1387,6 @@ pub fn enable_confidential_credits(
1402
1387
}
1403
1388
1404
1389
/// Create a `DisableConfidentialCredits` instruction
1405
- #[ cfg( not( target_os = "solana" ) ) ]
1406
1390
pub fn disable_confidential_credits (
1407
1391
token_program_id : & Pubkey ,
1408
1392
token_account : & Pubkey ,
@@ -1419,7 +1403,6 @@ pub fn disable_confidential_credits(
1419
1403
}
1420
1404
1421
1405
/// Create a `EnableNonConfidentialCredits` instruction
1422
- #[ cfg( not( target_os = "solana" ) ) ]
1423
1406
pub fn enable_non_confidential_credits (
1424
1407
token_program_id : & Pubkey ,
1425
1408
token_account : & Pubkey ,
@@ -1436,7 +1419,6 @@ pub fn enable_non_confidential_credits(
1436
1419
}
1437
1420
1438
1421
/// Create a `DisableNonConfidentialCredits` instruction
1439
- #[ cfg( not( target_os = "solana" ) ) ]
1440
1422
pub fn disable_non_confidential_credits (
1441
1423
token_program_id : & Pubkey ,
1442
1424
token_account : & Pubkey ,
0 commit comments