We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4372cc commit a36c8f0Copy full SHA for a36c8f0
Cargo.toml
@@ -21,6 +21,7 @@ five8_const = "0.1.3"
21
pinocchio = { path = "sdk/pinocchio", version = "0.7" }
22
pinocchio-cpi = { path = "sdk/cpi", version = "0.1.0" }
23
pinocchio-pubkey = { path = "sdk/pubkey", version = "0.2" }
24
+solana-define-syscall = "2.2"
25
26
[workspace.metadata.cli]
27
solana = "2.1.0"
@@ -30,3 +31,9 @@ build = "1.81.0"
30
31
format = "nightly-2024-08-08"
32
lint = "nightly-2024-08-08"
33
test = "1.81.0"
34
+
35
+[workspace.lints.rust]
36
+unexpected_cfgs = { level = "warn", check-cfg = [
37
+ 'cfg(target_os, values("solana"))',
38
+ 'cfg(target_feature, values("static-syscalls"))',
39
+] }
0 commit comments