File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ err-derive = "0.2"
99nix = { version = " 0.26" }
1010raw-fd = { path = " ../raw-fd" }
1111serde_json = { version = " 1.0" , default-features = false }
12+ vsocket = { path = " ../vsocket" }
1213
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ use raw_fd;
1616use serde_json:: Value ;
1717use std:: { os:: unix:: io:: AsRawFd , process:: Command } ;
1818
19- pub mod vsocket;
19+ use vsocket;
2020
2121/// Errors generated by Nitro enclave components of Veracruz
2222#[ derive( Debug , Error ) ]
@@ -33,7 +33,7 @@ pub struct NitroEnclave {
3333 /// value
3434 enclave_id : String ,
3535 /// A convenience struct for handling VSOCK connections to the enclave
36- vsocksocket : crate :: vsocket:: VsockSocket ,
36+ vsocksocket : vsocket:: VsockSocket ,
3737 /// the path to the Nitro CLI function. Not all AMI images have it in the
3838 /// same place in the file system, so we need to keep track of it
3939 nitro_cli_path : String ,
@@ -102,7 +102,7 @@ impl NitroEnclave {
102102 } ;
103103
104104 alarm:: set ( NITRO_ENCLAVE_CONNECT_TIMEOUT ) ;
105- let vsocket = crate :: vsocket:: VsockSocket :: connect ( cid, port) ?;
105+ let vsocket = vsocket:: VsockSocket :: connect ( cid, port) ?;
106106 alarm:: cancel ( ) ;
107107
108108 let enclave: Self = NitroEnclave {
You can’t perform that action at this time.
0 commit comments