File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,16 @@ pub mod abi_digester;
1111pub mod abi_example;
1212#[ cfg( feature = "frozen-abi" ) ]
1313pub mod hash;
14- # [ cfg ( feature = "frozen-abi" ) ]
15- #[ cfg( not( target_os = "solana" ) ) ]
14+
15+ #[ cfg( all ( feature = "frozen-abi" , not( target_os = "solana" ) ) ) ]
1616pub mod stable_abi;
1717
1818#[ cfg( feature = "frozen-abi" ) ]
1919#[ macro_use]
2020extern crate solana_frozen_abi_macro;
2121
22- #[ cfg( feature = "frozen-abi" ) ]
23- #[ cfg( not( target_os = "solana" ) ) ]
24- pub use bincode;
25- #[ cfg( feature = "frozen-abi" ) ]
26- #[ cfg( not( target_os = "solana" ) ) ]
27- pub use rand;
28- #[ cfg( feature = "frozen-abi" ) ]
29- #[ cfg( not( target_os = "solana" ) ) ]
30- pub use rand_chacha;
22+ #[ cfg( all( feature = "frozen-abi" , not( target_os = "solana" ) ) ) ]
23+ pub use { bincode, rand, rand_chacha} ;
3124
3225// Not public API. Previously referenced by macro-generated code. Remove the
3326// `log` dependency from Cargo.toml when this is cleaned up in the next major
You can’t perform that action at this time.
0 commit comments