-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime-loader: Remove unused ELF loader, bump clap to 4.0.10
- Loading branch information
Showing
7 changed files
with
41 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
runtime-loader: Remove unused ELF loader |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ authors = ["Oasis Protocol Foundation <[email protected]>"] | |
edition = "2018" | ||
|
||
[dependencies] | ||
clap = "3.2.22" | ||
failure = "0.1.5" | ||
clap = "4.0.10" | ||
anyhow = "1.0" | ||
futures = { version = "0.3.17", features = ["compat", "io-compat"] } | ||
# NOTE: The version of tokio is constrained by what the upstream enclave-runner is using. | ||
tokio = { version = "0.2", features = ["full"] } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
//! Oasis runtime loader. | ||
pub mod elf; | ||
#[cfg(target_os = "linux")] | ||
pub mod sgxs; | ||
|
||
use failure::Fallible; | ||
use anyhow::Result; | ||
|
||
/// Runtime loader. | ||
pub trait Loader { | ||
/// Load and run the specified runtime. | ||
fn run( | ||
&self, | ||
filename: String, | ||
filename: &str, | ||
signature_filename: Option<&str>, | ||
host_socket: String, | ||
) -> Fallible<()>; | ||
host_socket: &str, | ||
) -> Result<()>; | ||
} | ||
|
||
// Re-exports. | ||
pub use elf::ElfLoader; | ||
#[cfg(target_os = "linux")] | ||
pub use sgxs::SgxsLoader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters