소스 검색

bpf/aya-bpf-cty: target_arch for bpf*-unknown-none was renamed to "bpf"

Alessandro Decina 3 년 전
부모
커밋
97cb0db0ad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bpf/aya-bpf-cty/src/lib.rs

+ 1 - 1
bpf/aya-bpf-cty/src/lib.rs

@@ -15,7 +15,7 @@ pub use od::*;
 // PWD = Pointer Width Dependent
 pub use pwd::*;
 
-#[cfg(any(target_arch = "bpfel", target_arch = "bpfeb"))]
+#[cfg(any(target_arch = "bpf"))]
 mod ad {
     pub type c_int = i32;
     pub type c_uint = u32;