-
Notifications
You must be signed in to change notification settings - Fork 392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
more environment configuration #682
Conversation
6912f8a needs to be merged, as it fixes a wrong assumption |
} | ||
|
||
impl CrossToml { | ||
/// Parses the [`CrossToml`] from a string | ||
pub fn from_str(toml_str: &str) -> Result<Self> { | ||
let cfg: CrossToml = toml::from_str(toml_str)?; | ||
Ok(cfg) | ||
Ok(dbg!(cfg)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove before merge
opened #683 for the fix |
@@ -185,6 +185,18 @@ impl Config { | |||
Ok(collected) | |||
} | |||
|
|||
|
|||
pub fn env_variables(&self, target: &Target) -> HashMap<String, String> { | |||
// Does not support env variable config, that would make not much sense |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#742 (comment) and #743
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be removed, replaced with #748
No description provided.