Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

Emilgardis
Copy link
Member

No description provided.

@Emilgardis
Copy link
Member Author

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))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove before merge

@Emilgardis Emilgardis changed the title more environment configuration and a bug fix more environment configuration Apr 6, 2022
@Emilgardis
Copy link
Member Author

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
Copy link
Member Author

@Emilgardis Emilgardis Jun 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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

@Emilgardis
Copy link
Member Author

Emilgardis commented Jun 3, 2022

superseded by #748 and #750

@Emilgardis Emilgardis closed this Jun 3, 2022
@Emilgardis Emilgardis deleted the envs branch June 15, 2022 11:47
@Emilgardis Emilgardis added this to the v0.2.2 milestone Jun 15, 2022
@Alexhuszagh Alexhuszagh added enhancement A-config Area: cross-toml config no-ci-targets PRs that do not affect any cross-compilation targets. no changelog A valid PR without changelog (no-changelog) labels Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-config Area: cross-toml config enhancement no changelog A valid PR without changelog (no-changelog) no-ci-targets PRs that do not affect any cross-compilation targets.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants