Explorar el Código

aya: BpfError: set the #[source] attribute for RelocationErrors

Alessandro Decina hace 3 años
padre
commit
20b2d4c77d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      aya/src/bpf.rs

+ 1 - 0
aya/src/bpf.rs

@@ -371,6 +371,7 @@ pub enum BpfError {
     #[error("error relocating `{function}`")]
     RelocationError {
         function: String,
+        #[source]
         error: Box<dyn Error + Send + Sync>,
     },