Skip to content

Commit

Permalink
add doc_auto_cfg
Browse files Browse the repository at this point in the history
Co-authored-by: Jon C <[email protected]>
  • Loading branch information
kevinheavey and joncinque authored Nov 21, 2024
1 parent 2cf4c8e commit 22d79da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/rent-debits/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ dev-context-only-utils = []

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
all-features = true
rustdoc-args = ["--cfg=docsrs"]

[target.'cfg(target_os = "solana")'.dependencies]
solana-define-syscall = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions sdk/rent-debits/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
use {
solana_pubkey::Pubkey,
solana_reward_info::{RewardInfo, RewardType},
Expand Down

0 comments on commit 22d79da

Please sign in to comment.