소스 검색

aya-bpf-macros: fix tests

Doctests were failing due to a dependency on the aya-bpf crate.
William Findlay 3 년 전
부모
커밋
972e5e636a
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      bpf/aya-bpf-macros/Cargo.toml

+ 4 - 1
bpf/aya-bpf-macros/Cargo.toml

@@ -10,4 +10,7 @@ proc-macro = true
 [dependencies]
 proc-macro2 = "1.0"
 quote = "1.0"
-syn = {version = "1.0", features = ["full"]}
+syn = {version = "1.0", features = ["full"]}
+
+[dev-dependencies]
+aya-bpf = { path = "../aya-bpf" }