forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transaction-error: Fix warning for bpf build, feature gating (solana-…
…labs#3742) #### Problem There's a warning when building solana-transaction-error in bpf: ``` warning: unused import: `std::io` --> sdk/transaction-error/src/lib.rs:8:93 | 8 | ...or, solana_sanitize::SanitizeError, std::io, ``` This is because the part that uses std::io is gated on `not(target_os = "solana")`. Also, clippy is failing on this crate individually because the "serde" feature is not enabled on solana-instruction. #### Summary of changes Fix those two things.
- Loading branch information
Showing
2 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters