Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
fix: replace rust cfg annotations that use bpf by target_os solana
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed May 19, 2022
1 parent cfac449 commit 2712f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures/noop-program/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ fn process_instruction(

{
// Test - arch config
#[cfg(not(target_arch = "bpf"))]
#[cfg(not(target_os = "solana"))]
panic!();
}

Expand Down

0 comments on commit 2712f52

Please sign in to comment.