Archived
Replace el.toml with manifest.el throughout — El manifests are El, not TOML
This commit is contained in:
@@ -107,7 +107,7 @@ pub enum SealKeySource {
|
||||
}
|
||||
|
||||
impl SealKeySource {
|
||||
/// Parse from the `el.toml` string representation.
|
||||
/// Parse from the `manifest.el` string representation.
|
||||
pub fn parse(s: &str) -> Result<Self, crate::ManifestError> {
|
||||
if let Some(var) = s.strip_prefix("env:") {
|
||||
Ok(SealKeySource::EnvVar(var.to_string()))
|
||||
@@ -178,7 +178,7 @@ pub enum CrossTarget {
|
||||
}
|
||||
|
||||
impl CrossTarget {
|
||||
/// Parse from the string used in `el.toml`.
|
||||
/// Parse from the string used in `manifest.el`.
|
||||
pub fn parse(s: &str) -> Result<Self, crate::ManifestError> {
|
||||
match s {
|
||||
"x86_64-linux" => Ok(CrossTarget::X86_64Linux),
|
||||
@@ -209,7 +209,7 @@ impl CrossTarget {
|
||||
}
|
||||
}
|
||||
|
||||
/// The string as it appears in `el.toml`.
|
||||
/// The string as it appears in `manifest.el`.
|
||||
pub fn as_str(&self) -> &'static str {
|
||||
match self {
|
||||
CrossTarget::X86_64Linux => "x86_64-linux",
|
||||
|
||||
Reference in New Issue
Block a user